ports/graphics/mpeg_encode/patches/patch-headers_libpnmrw_h

16 lines
443 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- headers/libpnmrw.h.orig Wed Aug 9 17:17:41 1995
+++ headers/libpnmrw.h Sat May 22 16:16:24 2010
@@ -19,10 +19,8 @@
** malloc.h at all. A sad situation. If you have compilation problems
** that point here, feel free to tweak or remove these declarations.
*/
-#include <malloc.h>
-#if !defined(sco) && !defined(sgi) && !defined(IRIX)
-extern char* malloc();
-#endif
+#include <stdlib.h>
+
/* End of configurable definitions. */