summaryrefslogtreecommitdiff
path: root/main/editline
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2007-12-14 15:49:14 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2007-12-14 15:49:14 +0000
commit236132cb9260a49aa5a3b068481ba54bb5ba7f60 (patch)
tree0ba42f0b0b1c5090bc5acfa72143658f8b73d62b /main/editline
parent8765a9d73abfe7bc045b42384b57196d0d64d638 (diff)
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
Diffstat (limited to 'main/editline')
-rw-r--r--main/editline/sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/editline/sys.h b/main/editline/sys.h
index 48e4ce085..87ecc899c 100644
--- a/main/editline/sys.h
+++ b/main/editline/sys.h
@@ -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__
/*