summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-02 15:18:04 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2015-04-02 15:18:04 (GMT)
commit7edbb1ad09a34424f295b123505f0aa69c696a72 (patch)
tree5fa39ab25610006f809e4ddc2d73ded4ccab2e37
parent2d6282f46bf44ea82ea9cc562f62af4456714052 (diff)
downloadlibnsutils-7edbb1ad09a34424f295b123505f0aa69c696a72.tar.gz
libnsutils-7edbb1ad09a34424f295b123505f0aa69c696a72.tar.bz2
explicitly include sys/types necessary for some platforms to get off_t
-rw-r--r--src/unistd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unistd.c b/src/unistd.c
index 219e9ec..e8c5a0a 100644
--- a/src/unistd.c
+++ b/src/unistd.c
@@ -12,6 +12,7 @@
* unistd style operations.
*/
+#include <sys/types.h>
#include <unistd.h>
#include <errno.h>