]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - tests/example_vfork.c
update copyright year
[coloredstderr/coloredstderr.git] / tests / example_vfork.c
index 35ceaf42f24bb08ac1f3d11d6c3bd18927ed04b7..676431f354ba73b169a079874acb60f35b6f5df4 100644 (file)
@@ -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
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
+
 #include <stdio.h>
 #include <stdlib.h>
+#include <sys/types.h>
 #include <unistd.h>
 
-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");