summaryrefslogtreecommitdiff
path: root/cad/felt/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'cad/felt/files/patch-ad')
-rw-r--r--cad/felt/files/patch-ad15
1 files changed, 15 insertions, 0 deletions
diff --git a/cad/felt/files/patch-ad b/cad/felt/files/patch-ad
new file mode 100644
index 000000000000..22525e8ca2d8
--- /dev/null
+++ b/cad/felt/files/patch-ad
@@ -0,0 +1,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))