mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
a82e50a994
CC/CFLAGS safeness Submitted by: Jeremy Norris <ishmael@home.com> PR: ports/22171
16 lines
434 B
Plaintext
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
|