summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 2d53aa4b9..2fb7271af 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -812,7 +812,9 @@ libc_hidden_proto(setresgid)
and the process ID of the new process to the old process. */
extern __pid_t fork (void) __THROW;
# ifdef _LIBC
+# ifdef __UCLIBC_HAS_THREADS__
extern __typeof(fork) __libc_fork;
+# endif
libc_hidden_proto(fork)
# endif
#endif