summaryrefslogtreecommitdiff
path: root/src/legacy/getdtablesize.c
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/legacy/getdtablesize.c
parentac45692a53a1b8d2ede329d91652d43c1fb5dc8d (diff)
downloadmusl-571744447c23f91feb6439948f3a619aca850dfb.tar.gz
include cleanups: remove unused headers and add feature test macros
Diffstat (limited to 'src/legacy/getdtablesize.c')
-rw-r--r--src/legacy/getdtablesize.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/legacy/getdtablesize.c b/src/legacy/getdtablesize.c
index 623a6af3..682da6d0 100644
--- a/src/legacy/getdtablesize.c
+++ b/src/legacy/getdtablesize.c
@@ -1,3 +1,5 @@
+#define _GNU_SOURCE
+#include <unistd.h>
#include <limits.h>
#include <sys/resource.h>