aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-11 03:43:55 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-11 03:43:55 +0200
commit5f867ebefda5d1d9120eb52092a792990e120f34 (patch)
tree0c68052b3ef75f89719d734e01fd5e2596bc50dd
parentadd fexec functions (diff)
downloadslibc-5f867ebefda5d1d9120eb52092a792990e120f34.tar.gz
slibc-5f867ebefda5d1d9120eb52092a792990e120f34.tar.bz2
slibc-5f867ebefda5d1d9120eb52092a792990e120f34.tar.xz
fix inclusions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/unistd/execat.c1
-rw-r--r--src/unistd/fexec.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd/execat.c b/src/unistd/execat.c
index 5c42d79..e244812 100644
--- a/src/unistd/execat.c
+++ b/src/unistd/execat.c
@@ -21,6 +21,7 @@
#include <alloca.h>
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/src/unistd/fexec.c b/src/unistd/fexec.c
index bf022e4..bc88c57 100644
--- a/src/unistd/fexec.c
+++ b/src/unistd/fexec.c
@@ -19,8 +19,7 @@
#include <stdarg.h>
#include <errno.h>
#include <alloca.h>
-#include <string.h>
-#include <stdlib.h>
+#include <stdio.h>