diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-07 19:20:27 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-10-07 19:20:27 +0000 |
commit | 7ff98aeae2fbd0ab955d18d2b18c8b99b0d9f19b (patch) | |
tree | 6d92cd9bc63afb73ce1c81b85d813fa1f5341e94 /app-arch/lha/files | |
parent | Stable on ppc64; bug #148500 (diff) | |
download | gentoo-2-7ff98aeae2fbd0ab955d18d2b18c8b99b0d9f19b.tar.gz gentoo-2-7ff98aeae2fbd0ab955d18d2b18c8b99b0d9f19b.tar.bz2 gentoo-2-7ff98aeae2fbd0ab955d18d2b18c8b99b0d9f19b.zip |
malloc.h should not be included, stdlib.h instead should.
(Portage version: 2.1.2_pre2-r5)
Diffstat (limited to 'app-arch/lha/files')
-rw-r--r-- | app-arch/lha/files/lha-114i-malloc.patch | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app-arch/lha/files/lha-114i-malloc.patch b/app-arch/lha/files/lha-114i-malloc.patch index 8c9d968a9d58..2a2a0daf045c 100644 --- a/app-arch/lha/files/lha-114i-malloc.patch +++ b/app-arch/lha/files/lha-114i-malloc.patch @@ -1,12 +1,10 @@ --- lha-114i/src/lha.h +++ lha-114i/src/lha.h -@@ -16,6 +16,9 @@ +@@ -16,6 +16,7 @@ #include <sys/types.h> #include <sys/file.h> #include <sys/stat.h> -+#ifndef __APPLE__ -+#include <malloc.h> -+#endif ++#include <stdlib.h> #include <signal.h> |