[asterisk-commits] tilghman: trunk r92939 - /trunk/main/editline/sys.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 14 09:49:15 CST 2007


Author: tilghman
Date: Fri Dec 14 09:49:14 2007
New Revision: 92939

URL: http://svn.digium.com/view/asterisk?view=rev&rev=92939
Log:
If malloc.h is included in a Solaris build, the compilation breaks.
Reported by: snuffy
Patch by: snuffy
(Closes issue #11313)

Modified:
    trunk/main/editline/sys.h

Modified: trunk/main/editline/sys.h
URL: http://svn.digium.com/view/asterisk/trunk/main/editline/sys.h?view=diff&rev=92939&r1=92938&r2=92939
==============================================================================
--- trunk/main/editline/sys.h (original)
+++ trunk/main/editline/sys.h Fri Dec 14 09:49:14 2007
@@ -80,7 +80,7 @@
 #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__
 /*




More information about the asterisk-commits mailing list