From 236132cb9260a49aa5a3b068481ba54bb5ba7f60 Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Fri, 14 Dec 2007 15:49:14 +0000
Subject: [PATCH] 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
---
 main/editline/sys.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/editline/sys.h b/main/editline/sys.h
index 48e4ce0858..87ecc899c9 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__
 /*
-- 
GitLab