summaryrefslogtreecommitdiff
path: root/src/fcntl
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/fcntl
parentac45692a53a1b8d2ede329d91652d43c1fb5dc8d (diff)
downloadmusl-571744447c23f91feb6439948f3a619aca850dfb.tar.gz
include cleanups: remove unused headers and add feature test macros
Diffstat (limited to 'src/fcntl')
-rw-r--r--src/fcntl/fcntl.c1
-rw-r--r--src/fcntl/open.c1
-rw-r--r--src/fcntl/openat.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/fcntl/fcntl.c b/src/fcntl/fcntl.c
index 390ef758..4c34ba04 100644
--- a/src/fcntl/fcntl.c
+++ b/src/fcntl/fcntl.c
@@ -1,6 +1,5 @@
#define _GNU_SOURCE
#include <fcntl.h>
-#include <unistd.h>
#include <stdarg.h>
#include <errno.h>
#include "syscall.h"
diff --git a/src/fcntl/open.c b/src/fcntl/open.c
index 31d6744c..be442089 100644
--- a/src/fcntl/open.c
+++ b/src/fcntl/open.c
@@ -1,5 +1,4 @@
#include <fcntl.h>
-#include <unistd.h>
#include <stdarg.h>
#include "syscall.h"
#include "libc.h"
diff --git a/src/fcntl/openat.c b/src/fcntl/openat.c
index bdecb8c8..634c4bf3 100644
--- a/src/fcntl/openat.c
+++ b/src/fcntl/openat.c
@@ -1,5 +1,4 @@
#include <fcntl.h>
-#include <unistd.h>
#include <stdarg.h>
#include "syscall.h"
#include "libc.h"