diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-14 15:49:14 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-14 15:49:14 +0000 |
commit | f63b3a6c9df23c3e7c17649675a774a7c68a0b7a (patch) | |
tree | 0ba42f0b0b1c5090bc5acfa72143658f8b73d62b /main/editline | |
parent | eb38362562dc8ffb49e0c4c9c195d9253ea6f227 (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: http://svn.digium.com/svn/asterisk/trunk@92939 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/editline')
-rw-r--r-- | main/editline/sys.h | 2 |
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__ /* |