From 3ea3326bcd84a2663c9b78579d2a78cbfe9c4d6c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 15 Jan 2006 19:35:26 +0000 Subject: only build if we have fork --- libc/sysdeps/linux/common/vfork.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc/sysdeps/linux/common/vfork.c b/libc/sysdeps/linux/common/vfork.c index b4dc2288f..07662796c 100644 --- a/libc/sysdeps/linux/common/vfork.c +++ b/libc/sysdeps/linux/common/vfork.c @@ -2,6 +2,8 @@ #include #include +#ifdef __NR_fork + libc_hidden_proto(vfork) libc_hidden_proto(fork) @@ -11,3 +13,5 @@ pid_t vfork(void) return fork(); } libc_hidden_def(vfork) + +#endif -- cgit v1.2.3