Browse Source

need sys/syscall.h for __NR_fork define

Mike Frysinger 18 years ago
parent
commit
230eeaf809
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libc/sysdeps/linux/common/vfork.c

+ 1 - 0
libc/sysdeps/linux/common/vfork.c

@@ -1,6 +1,7 @@
 /* Trivial implementation for arches that lack vfork */
 #include <unistd.h>
 #include <sys/types.h>
+#include <sys/syscall.h>
 
 #ifdef __NR_fork