summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/daemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c
index 3c54ad234..a1dfabfe3 100644
--- a/libc/unistd/daemon.c
+++ b/libc/unistd/daemon.c
@@ -23,6 +23,8 @@
* Original copyright notice is retained at the end of this file.
*/
+#define dup2 __dup2
+
#include <stdio.h>
#include <features.h>
#include <fcntl.h>