Mail archive
alpine-devel

[alpine-devel] [PATCH 1/2] *.c: malloc.h->stdlib.h

From: Pierre Carrier <pierre_at_gcarrier.fr>
Date: Thu, 18 Apr 2013 01:59:35 +0200

---
 src/apk_hash.h | 2 +-
 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
_at_@ -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
_at_@ -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>
_at_@ -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"
-- 
1.8.2.1
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Apr 18 2013 - 01:59:35 UTC