summaryrefslogtreecommitdiff
path: root/archivers/bzip/files/patch-ab
blob: 8a349de5f3e21cf130fc53d026fff390349b8923 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- bzip.c.orig	Fri Sep 27 12:33:18 1996
+++ bzip.c	Fri Sep 27 12:35:48 1996
@@ -116,7 +116,9 @@
 #if BZ_UNIX_32
    #include <utime.h>
    #include <unistd.h>
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)	/* stdlib already included above */
    #include <malloc.h>
+#endif
    #include <sys/stat.h>
    #include <sys/times.h>