The malloc/free functions should be in stdlib.h, but if we can't find
stdlib.h then try including malloc.h. Maybe this will allow clean compiling on some platforms.
This commit is contained in:
parent
fb616011ef
commit
4fa5cef491
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tinyproxy.h,v 1.26 2001-12-28 22:31:12 rjkaes Exp $
|
/* $Id: tinyproxy.h,v 1.27 2002-04-09 22:02:05 rjkaes Exp $
|
||||||
*
|
*
|
||||||
* See 'tinyproxy.c' for a detailed description.
|
* See 'tinyproxy.c' for a detailed description.
|
||||||
*
|
*
|
||||||
@ -101,9 +101,6 @@
|
|||||||
#ifdef HAVE_GRP_H
|
#ifdef HAVE_GRP_H
|
||||||
# include <grp.h>
|
# include <grp.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_MALLOC_H
|
|
||||||
# include <malloc.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_MEMORY_H
|
#ifdef HAVE_MEMORY_H
|
||||||
# include <memory.h>
|
# include <memory.h>
|
||||||
#endif
|
#endif
|
||||||
@ -131,6 +128,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_STDLIB_H
|
#ifdef HAVE_STDLIB_H
|
||||||
# include <stdlib.h>
|
# include <stdlib.h>
|
||||||
|
#else
|
||||||
|
# ifdef HAVE_MALLOC_H
|
||||||
|
# include <malloc.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_STRING_H
|
#ifdef HAVE_STRING_H
|
||||||
# include <string.h>
|
# include <string.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user