diff options
author | Pierre Carrier <pierre@gcarrier.fr> | 2013-04-18 01:59:35 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-18 06:19:33 +0000 |
commit | 61b4c443c9122429b313a1289da129c1e8b1812b (patch) | |
tree | 1c0e9a7c92ccae449a8c64de757c53de9e935b22 /src | |
parent | 72cd34cf8148322837193c8e2b6da0cd96fe7788 (diff) | |
download | apk-tools-61b4c443c9122429b313a1289da129c1e8b1812b.tar.gz apk-tools-61b4c443c9122429b313a1289da129c1e8b1812b.tar.bz2 apk-tools-61b4c443c9122429b313a1289da129c1e8b1812b.tar.xz apk-tools-61b4c443c9122429b313a1289da129c1e8b1812b.zip |
*.c: malloc.h->stdlib.h
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" |