X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=inline;f=tests%2Fexample_vfork.c;h=2905b9c6d549a9836506f808c711f784f3e54a91;hb=545c6af1daceb29e4a9dc419273a3f2339dfaa7c;hp=ed94e562e8cd4820107f08880daf7926e1232837;hpb=06f483dbeece72fa46fe43700b6e01279c92c916;p=coloredstderr%2Fcoloredstderr.git
diff --git a/tests/example_vfork.c b/tests/example_vfork.c
index ed94e56..2905b9c 100644
--- a/tests/example_vfork.c
+++ b/tests/example_vfork.c
@@ -1,7 +1,7 @@
/*
* Test issues with vfork().
*
- * Copyright (C) 2013 Simon Ruderich
+ * Copyright (C) 2013-2018 Simon Ruderich
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -17,12 +17,17 @@
* along with this program. If not, see .
*/
+#include
+
#include
#include
#include
#include
-int main(int argc, char **argv) {
+#include "../src/compiler.h"
+
+
+int main(int argc unused, char **argv unused) {
pid_t pid;
fprintf(stderr, "Before vfork().\n");