summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/vfork.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-20 23:30:01 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-20 23:30:01 +0000
commit230eeaf809af0fef07416804b700f576cd437c86 (patch)
tree5ba7d0ce83b2d2e9595e40b4d1f92763c81f6af6 /libc/sysdeps/linux/common/vfork.c
parent9ce08d170e67e642aa9388ea53a4aac4c0b6f9fe (diff)
need sys/syscall.h for __NR_fork define
Diffstat (limited to 'libc/sysdeps/linux/common/vfork.c')
-rw-r--r--libc/sysdeps/linux/common/vfork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/vfork.c b/libc/sysdeps/linux/common/vfork.c
index 07662796c..b3543a616 100644
--- a/libc/sysdeps/linux/common/vfork.c
+++ b/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