diff options
author | William Pitcock <nenolod@dereferenced.org> | 2013-06-12 10:43:56 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2013-06-12 10:47:11 -0500 |
commit | 78ee4267cd6ceafa678f1b44f01a30f77a377876 (patch) | |
tree | eeb9d46d176b9455223177d2c5a425cb176ceb33 | |
parent | a2d873a77c6dd2e7f6219e6941af796e1f904e69 (diff) | |
download | aports-78ee4267cd6ceafa678f1b44f01a30f77a377876.tar.bz2 aports-78ee4267cd6ceafa678f1b44f01a30f77a377876.tar.xz |
libapk, apk(8): fix header inclusion issues with musl's headers
-rw-r--r-- | src/apk_io.h | 1 | ||||
-rw-r--r-- | src/audit.c | 1 | ||||
-rw-r--r-- | src/blob.c | 2 | ||||
-rw-r--r-- | src/cache.c | 1 | ||||
-rw-r--r-- | src/common.c | 1 | ||||
-rw-r--r-- | src/index.c | 1 |
6 files changed, 6 insertions, 1 deletions
diff --git a/src/apk_io.h b/src/apk_io.h index b88293c1ec..4790d805c5 100644 --- a/src/apk_io.h +++ b/src/apk_io.h @@ -11,6 +11,7 @@ #ifndef APK_IO #define APK_IO +#include <sys/types.h> #include <openssl/evp.h> #include "apk_defines.h" diff --git a/src/audit.c b/src/audit.c index 3631518fa3..d28883f3fb 100644 --- a/src/audit.c +++ b/src/audit.c @@ -15,6 +15,7 @@ #include <unistd.h> #include <dirent.h> #include <fnmatch.h> +#include <limits.h> #include <sys/stat.h> #include "apk_applet.h" #include "apk_database.h" diff --git a/src/blob.c b/src/blob.c index a03c66a366..fc21467c13 100644 --- a/src/blob.c +++ b/src/blob.c @@ -11,7 +11,7 @@ #include <malloc.h> #include <string.h> -#include <printf.h> +#include <stdio.h> #include "apk_blob.h" #include "apk_hash.h" diff --git a/src/cache.c b/src/cache.c index b82ecf6a41..f295f893c0 100644 --- a/src/cache.c +++ b/src/cache.c @@ -13,6 +13,7 @@ #include <stdio.h> #include <dirent.h> #include <unistd.h> +#include <limits.h> #include "apk_defines.h" #include "apk_applet.h" diff --git a/src/common.c b/src/common.c index 36c4d07c90..0336645075 100644 --- a/src/common.c +++ b/src/common.c @@ -10,6 +10,7 @@ #include <malloc.h> #include <string.h> +#include <stdlib.h> #include <unistd.h> #include "apk_defines.h" diff --git a/src/index.c b/src/index.c index a862d2ac38..26cbe72891 100644 --- a/src/index.c +++ b/src/index.c @@ -13,6 +13,7 @@ #include <stdio.h> #include <fcntl.h> #include <unistd.h> +#include <sys/stat.h> #include "apk_applet.h" #include "apk_database.h" |