summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-08 02:41:21 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-08 02:41:21 +0000
commit1e85d9e01030c7d841ad00d3b044b6ad1bf06011 (patch)
tree09e695c3473b19b669f01a13c1486f0b6ee76bc1 /include
parent388e096fa68a1bb6186efb653e9538e12961d442 (diff)
New .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMU
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 58021a5e2..164f28909 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -717,7 +717,7 @@ extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
#endif
-#ifdef __ARCH_USE_MMU__
+#if defined __UCLIBC_HAS_STUBS__ || defined __ARCH_USE_MMU__
/* 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. */