If malloc.h is included in a Solaris build, the compilation breaks.
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 14 Dec 2007 15:49:14 +0000 (15:49 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 14 Dec 2007 15:49:14 +0000 (15:49 +0000)
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

main/editline/sys.h

index 48e4ce0..87ecc89 100644 (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__
 /*