diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-30 13:04:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-30 13:04:25 +0000 |
commit | b4adf7645ff6c14e19682b9ef17e15756c5b0b14 (patch) | |
tree | 78e7f1e7cb06f362b9930749d62db8e1d49c874b /src | |
parent | dd6008995a8e8509d71ffa906c837e7a320e8a15 (diff) | |
download | apk-tools-b4adf7645ff6c14e19682b9ef17e15756c5b0b14.tar.gz apk-tools-b4adf7645ff6c14e19682b9ef17e15756c5b0b14.tar.bz2 apk-tools-b4adf7645ff6c14e19682b9ef17e15756c5b0b14.tar.xz apk-tools-b4adf7645ff6c14e19682b9ef17e15756c5b0b14.zip |
Fix building on eglibc
Seems like recent eglibc requires that you include sys/stat.h
Diffstat (limited to 'src')
-rw-r--r-- | src/archive.c | 1 | ||||
-rw-r--r-- | src/database.c | 1 | ||||
-rw-r--r-- | src/io.c | 1 | ||||
-rw-r--r-- | src/package.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/src/archive.c b/src/archive.c index f60cb1b..3ac8a64 100644 --- a/src/archive.c +++ b/src/archive.c @@ -20,6 +20,7 @@ #include <unistd.h> #include <sysexits.h> #include <sys/wait.h> +#include <sys/stat.h> #include <limits.h> #include <stdint.h> diff --git a/src/database.c b/src/database.c index 5dcd9e0..925aa4a 100644 --- a/src/database.c +++ b/src/database.c @@ -20,6 +20,7 @@ #include <signal.h> #include <fnmatch.h> #include <sys/file.h> +#include <sys/stat.h> #include "apk_defines.h" #include "apk_package.h" @@ -15,6 +15,7 @@ #include <unistd.h> #include <malloc.h> #include <sys/mman.h> +#include <sys/stat.h> #include <pwd.h> #include <grp.h> diff --git a/src/package.c b/src/package.c index e73814a..8f15e7a 100644 --- a/src/package.c +++ b/src/package.c @@ -19,6 +19,7 @@ #include <stdlib.h> #include <unistd.h> #include <sys/wait.h> +#include <sys/stat.h> #include <openssl/pem.h> |