diff options
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index ab8e4b31a..dfe06c5b2 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -635,7 +635,11 @@ extern int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); /* Clone the calling process, creating an exact copy. Return -1 for errors, 0 to the new process, and the process ID of the new process to the old process. */ +#ifdef __PTHREADS_NATIVE__ +extern __pid_t __fork (void) __THROW; +#else extern __pid_t fork (void) __THROW; +#endif #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED /* Clone the calling process, but without copying the whole address space. |