summaryrefslogtreecommitdiff
path: root/multimedia/mpeg_encode/files/patch-aa
blob: c4d2f537b154cdeddf94949e4ff74ca8b0549db7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ./headers/libpnmrw.h~	Thu Aug  1 08:52:25 1996
+++ ./headers/libpnmrw.h	Thu Aug  1 08:51:16 1996
@@ -19,7 +19,12 @@
 ** malloc.h at all.  A sad situation.  If you have compilation problems
 ** that point here, feel free to tweak or remove these declarations.
 */
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
 #include <malloc.h>
+#endif
+
 #if !defined(sco)  &&  !defined(sgi) && !defined(IRIX)
 extern char* malloc();
 #endif