diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/apk_hash.h | 2 | ||||
-rw-r--r-- | src/archive.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/apk_hash.h b/src/apk_hash.h index 92061e9..0184f14 100644 --- a/src/apk_hash.h +++ b/src/apk_hash.h @@ -12,7 +12,7 @@ #ifndef APK_HASH_H #define APK_HASH_H -#include <malloc.h> +#include <stdlib.h> #include "apk_defines.h" #include "apk_blob.h" diff --git a/src/archive.c b/src/archive.c index 8511549..1ab7961 100644 --- a/src/archive.c +++ b/src/archive.c @@ -15,7 +15,6 @@ #include <errno.h> #include <fcntl.h> #include <utime.h> -#include <malloc.h> #include <string.h> #include <unistd.h> #include <sysexits.h> @@ -23,6 +22,7 @@ #include <sys/stat.h> #include <limits.h> #include <stdint.h> +#include <stdlib.h> #include "apk_defines.h" #include "apk_print.h" |