summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index a3cf288b2..65b83bfb5 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -768,7 +768,10 @@ libc_hidden_proto(setresgid)
Return -1 for errors, 0 to the new process,
and the process ID of the new process to the old process. */
extern __pid_t fork (void) __THROW;
+# ifdef _LIBC
+extern __typeof(fork) __libc_fork;
libc_hidden_proto(fork)
+# endif
#endif
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED