freebsd-ports/graphics/mpeg_encode/files/patch-aa
Mario Sergio Fujikawa Ferreira a82e50a994 Overall port clean up
CC/CFLAGS safeness

Submitted by:	Jeremy Norris <ishmael@home.com>
PR:		ports/22171
2000-10-28 13:05:25 +00:00

16 lines
434 B
Plaintext

--- ./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