diff options
-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" |