summaryrefslogtreecommitdiff
path: root/multimedia/mpeg_encode/patches/patch-ao
blob: 249092bfb320c58f2325d42076f04dec179d38bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ao,v 1.1 2006/01/03 14:20:41 joerg Exp $

--- headers/libpnmrw.h.orig	2006-01-03 14:15:10.000000000 +0000
+++ headers/libpnmrw.h
@@ -13,18 +13,7 @@
 #ifndef _PNMRW_H_
 #define _PNMRW_H_
 
-/* CONFIGURE: On some systems, malloc.h doesn't declare these, so we have
-** to do it.  On other systems, for example HP/UX, it declares them
-** incompatibly.  And some systems, for example Dynix, don't have a
-** 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
-/* End of configurable definitions. */
-
+#include <stdlib.h>
 
 /* Definitions to make PBMPLUS work with either ANSI C or C Classic. */