From 548be48e8a855b10f6c3f82c553e1aa20f46b21b Mon Sep 17 00:00:00 2001 From: Vern Paxson Date: Sat, 26 May 1990 17:24:13 +0000 Subject: [PATCH] Added DONT_HAVE_STDLIB_H and declarations of malloc() --- flex.skl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flex.skl b/flex.skl index 190bb9f..4c24006 100644 --- a/flex.skl +++ b/flex.skl @@ -9,7 +9,14 @@ #include #ifdef __STDC__ + +#ifndef DONT_HAVE_STDLIB_H #include +#else +void *malloc( unsigned ); +void free( void* ); +#endif + #define YY_USE_PROTOS #define YY_USE_CONST #endif -- 2.40.0