From 339afbb210200fbfd7839fc9ce6593daef8e057b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 23 Oct 1997 16:07:31 +0000 Subject: [!HAVE_DECLARATION_FREE]: Declare free. [!HAVE_DECLARATION_MALLOC]: Declare malloc. [!HAVE_DECLARATION_REALLOC]: Declare realloc. [!HAVE_DECLARATION_STPCPY]: Declare stpcpy. [!HAVE_DECLARATION_STRSTR]: Declare strstr. --- src/system.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/system.h') diff --git a/src/system.h b/src/system.h index 0f84cd422..d1e71cfbd 100644 --- a/src/system.h +++ b/src/system.h @@ -383,3 +383,23 @@ char *alloca (); #endif #define STREQ(a,b) (strcmp((a), (b)) == 0) + +#ifndef HAVE_DECLARATION_FREE +void free (); +#endif + +#ifndef HAVE_DECLARATION_MALLOC +char *malloc (); +#endif + +#ifndef HAVE_DECLARATION_REALLOC +char *realloc (); +#endif + +#ifndef HAVE_DECLARATION_STPCPY +char *stpcpy (); +#endif + +#ifndef HAVE_DECLARATION_STRSTR +char *strstr (); +#endif -- cgit v1.2.3-54-g00ecf