If malloc.h is included in a Solaris build, the compilation breaks.

Reported by: snuffy
Patch by: snuffy
(Closes issue #11313)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2007-12-14 15:49:14 +00:00
parent 8765a9d73a
commit 236132cb92

View File

@@ -80,7 +80,7 @@ char *fgetln(FILE *fp, size_t *len);
#ifdef SUNOS
# undef REGEX
# undef REGEXP
# include <malloc.h>
/* # include <malloc.h> XXX Removed for Solaris build XXX */
typedef void (*sig_t)(int);
# ifdef __GNUC__
/*