[asterisk-commits] branch 1.2 r12161 - in /branches/1.2/editline: np/vis.c readline.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Mar 6 16:03:56 MST 2006


Author: tilghman
Date: Mon Mar  6 17:03:54 2006
New Revision: 12161

URL: http://svn.digium.com/view/asterisk?rev=12161&view=rev
Log:
Bug 6664 - More fixes for Solaris

Modified:
    branches/1.2/editline/np/vis.c
    branches/1.2/editline/readline.c

Modified: branches/1.2/editline/np/vis.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/editline/np/vis.c?rev=12161&r1=12160&r2=12161&view=diff
==============================================================================
--- branches/1.2/editline/np/vis.c (original)
+++ branches/1.2/editline/np/vis.c Mon Mar  6 17:03:54 2006
@@ -68,6 +68,7 @@
 #endif
 
 #ifdef SOLARIS
+#include <alloca.h>
 typedef unsigned int	u_int32_t;
 #endif
 

Modified: branches/1.2/editline/readline.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/editline/readline.c?rev=12161&r1=12160&r2=12161&view=diff
==============================================================================
--- branches/1.2/editline/readline.c (original)
+++ branches/1.2/editline/readline.c Mon Mar  6 17:03:54 2006
@@ -51,6 +51,11 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <limits.h>
+
+#ifdef SOLARIS
+#include <alloca.h>
+#endif
+
 #include "histedit.h"
 #include "readline/readline.h"
 #include "el.h"



More information about the asterisk-commits mailing list