diff options
author | Vern Paxson <vern@ee.lbl.gov> | 1990-07-28 16:53:13 +0000 |
---|---|---|
committer | Vern Paxson <vern@ee.lbl.gov> | 1990-07-28 16:53:13 +0000 |
commit | 746717cc9594402395206ead67328748fad7bb25 (patch) | |
tree | c035dd038c6fdd3f038b2128a649c3ab10b21738 /flexdef.h | |
parent | e5108c09de581933bb85ed2b1f00334a2ae5e1e8 (diff) |
Changed to get malloc definition in identical fashion to that
used by flex.skel
Diffstat (limited to 'flexdef.h')
-rw-r--r-- | flexdef.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -90,7 +90,16 @@ char *memset(); #define SHORT_FILE_NAMES #endif +#ifdef __STDC__ +#ifndef DONT_HAVE_STDLIB_H +#include <stdlib.h> +#else +void *malloc( unsigned ); +void free( void* ); +#endif +#else char *malloc(), *realloc(); +#endif /* maximum line length we'll have to deal with */ |