X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=tests%2Fexample_vfork.c;h=676431f354ba73b169a079874acb60f35b6f5df4;hb=8a65b4486febf00e3fad5bafc3773a811e675a4c;hp=35ceaf42f24bb08ac1f3d11d6c3bd18927ed04b7;hpb=1c5441c26aa476ffb7ee2a83cea9d73817f83292;p=coloredstderr%2Fcoloredstderr.git
diff --git a/tests/example_vfork.c b/tests/example_vfork.c
index 35ceaf4..676431f 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-2015 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,11 +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");