summaryrefslogtreecommitdiff
path: root/flex.skl
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1990-05-26 17:24:13 +0000
committerVern Paxson <vern@ee.lbl.gov>1990-05-26 17:24:13 +0000
commit548be48e8a855b10f6c3f82c553e1aa20f46b21b (patch)
tree130332007c6f622ce69e3228e8837b8e9a8cd619 /flex.skl
parent64749a9fd4e65a222f4f430938721c4aff214aaa (diff)
Added DONT_HAVE_STDLIB_H and declarations of malloc()
Diffstat (limited to 'flex.skl')
-rw-r--r--flex.skl7
1 files changed, 7 insertions, 0 deletions
diff --git a/flex.skl b/flex.skl
index 190bb9f..4c24006 100644
--- a/flex.skl
+++ b/flex.skl
@@ -9,7 +9,14 @@
#include <stdio.h>
#ifdef __STDC__
+
+#ifndef DONT_HAVE_STDLIB_H
#include <stdlib.h>
+#else
+void *malloc( unsigned );
+void free( void* );
+#endif
+
#define YY_USE_PROTOS
#define YY_USE_CONST
#endif