From: Vern Paxson Date: Sat, 26 May 1990 17:24:13 +0000 (+0000) Subject: Added DONT_HAVE_STDLIB_H and declarations of malloc() X-Git-Tag: flex-2-5-5b~489 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=548be48e8a855b10f6c3f82c553e1aa20f46b21b;p=flex Added DONT_HAVE_STDLIB_H and declarations of malloc() --- 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