about summary refs log tree commit diff
path: root/src/process
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-12-12 05:09:18 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-12-12 05:09:18 +0000
commit571744447c23f91feb6439948f3a619aca850dfb (patch)
tree996c6f90721d69494683ae213ec22784d02a899a /src/process
parentac45692a53a1b8d2ede329d91652d43c1fb5dc8d (diff)
downloadmusl-571744447c23f91feb6439948f3a619aca850dfb.tar.gz
musl-571744447c23f91feb6439948f3a619aca850dfb.tar.xz
musl-571744447c23f91feb6439948f3a619aca850dfb.zip
include cleanups: remove unused headers and add feature test macros
Diffstat (limited to 'src/process')
-rw-r--r--src/process/fexecve.c1
-rw-r--r--src/process/system.c2
-rw-r--r--src/process/vfork.c1
3 files changed, 2 insertions, 2 deletions
diff --git a/src/process/fexecve.c b/src/process/fexecve.c
index 8ab02a74..6507b429 100644
--- a/src/process/fexecve.c
+++ b/src/process/fexecve.c
@@ -1,5 +1,4 @@
 #include <unistd.h>
-#include <stdio.h>
 #include <errno.h>
 
 void __procfdname(char *, unsigned);
diff --git a/src/process/system.c b/src/process/system.c
index f5b7b492..8cbdda06 100644
--- a/src/process/system.c
+++ b/src/process/system.c
@@ -1,5 +1,5 @@
 #include <unistd.h>
-#include <fcntl.h>
+#include <stdlib.h>
 #include <signal.h>
 #include <sys/wait.h>
 #include <spawn.h>
diff --git a/src/process/vfork.c b/src/process/vfork.c
index 16d07ea7..fc4adb46 100644
--- a/src/process/vfork.c
+++ b/src/process/vfork.c
@@ -1,3 +1,4 @@
+#define _GNU_SOURCE
 #include <unistd.h>
 #include "syscall.h"
 #include "libc.h"