a82e50a994
CC/CFLAGS safeness Submitted by: Jeremy Norris <ishmael@home.com> PR: ports/22171
15 lines
434 B
Text
15 lines
434 B
Text
--- ./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
|