aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-30 13:04:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-30 13:04:25 +0000
commitb4adf7645ff6c14e19682b9ef17e15756c5b0b14 (patch)
tree78e7f1e7cb06f362b9930749d62db8e1d49c874b /src/io.c
parentdd6008995a8e8509d71ffa906c837e7a320e8a15 (diff)
downloadaports-b4adf7645ff6c14e19682b9ef17e15756c5b0b14.tar.bz2
aports-b4adf7645ff6c14e19682b9ef17e15756c5b0b14.tar.xz
Fix building on eglibc
Seems like recent eglibc requires that you include sys/stat.h
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
index 2b0c892411..5100d41ef6 100644
--- a/src/io.c
+++ b/src/io.c
@@ -15,6 +15,7 @@
#include <unistd.h>
#include <malloc.h>
#include <sys/mman.h>
+#include <sys/stat.h>
#include <pwd.h>
#include <grp.h>