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 | apk-tools-78ee4267cd6ceafa678f1b44f01a30f77a377876.tar.gz apk-tools-78ee4267cd6ceafa678f1b44f01a30f77a377876.tar.bz2 apk-tools-78ee4267cd6ceafa678f1b44f01a30f77a377876.tar.xz apk-tools-78ee4267cd6ceafa678f1b44f01a30f77a377876.zip |
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 b88293c..4790d80 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 3631518..d28883f 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" @@ -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 b82ecf6..f295f89 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 36c4d07..0336645 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 a862d2a..26cbe72 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" |