summaryrefslogtreecommitdiff
path: root/science/felt/files/patch-ad
blob: 22525e8ca2d8ae640dda2a97e588b4840c9f071b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- include/allocate.h.orig	Fri Jan 10 20:11:30 1997
+++ include/allocate.h	Fri Jan 10 20:10:54 1997
@@ -25,7 +25,12 @@
 
 # ifndef _ALLOCATE_H
 # define _ALLOCATE_H
+
+#ifdef __STDC__
+#include <stdlib.h>
+#else
 # include "malloc.h"
+#endif
 
 # define AllocNew(type) \
 	(type *) malloc (sizeof (type))