[svn-commits] rizzo: trunk r89392 - /trunk/include/asterisk/compat.h
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sat Nov 17 13:29:54 CST 2007
Author: rizzo
Date: Sat Nov 17 13:29:54 2007
New Revision: 89392
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89392
Log:
if alloca.h is not present, try malloc.h
Modified:
trunk/include/asterisk/compat.h
Modified: trunk/include/asterisk/compat.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/compat.h?view=diff&rev=89392&r1=89391&r2=89392
==============================================================================
--- trunk/include/asterisk/compat.h (original)
+++ trunk/include/asterisk/compat.h Sat Nov 17 13:29:54 2007
@@ -53,6 +53,8 @@
#ifdef HAVE_ALLOCA_H
#include <alloca.h> /* not necessarily present - could be in stdlib */
+#elif defined(HAVE_ALLOCA)
+#include <malloc.h> /* see if it is here... */
#endif
#include <stdio.h> /* this is always present */
More information about the svn-commits
mailing list