openbsd-ports/graphics/mpeg_encode/patches/patch-headers_libpnmrw_h
2010-05-22 14:17:56 +00:00

17 lines
516 B
Plaintext

$OpenBSD: patch-headers_libpnmrw_h,v 1.2 2010/05/22 14:17:56 espie Exp $
--- 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. */