]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - tests/example_vfork.c
m4/ax_c___attribute__.m4: Add.
[coloredstderr/coloredstderr.git] / tests / example_vfork.c
index 35ceaf42f24bb08ac1f3d11d6c3bd18927ed04b7..8c4aec94ee221ea542c9b33a2ddeaae584caa69f 100644 (file)
  * 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");