[asterisk-commits] file: trunk r82233 - /trunk/utils/hashtest2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 11 08:37:26 CDT 2007


Author: file
Date: Tue Sep 11 08:37:26 2007
New Revision: 82233

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82233
Log:
Fix building under FreeBSD. Make sure alloca.h exists before including it.

Modified:
    trunk/utils/hashtest2.c

Modified: trunk/utils/hashtest2.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/hashtest2.c?view=diff&rev=82233&r1=82232&r2=82233
==============================================================================
--- trunk/utils/hashtest2.c (original)
+++ trunk/utils/hashtest2.c Tue Sep 11 08:37:26 2007
@@ -34,7 +34,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
+#ifdef HAVE_ALLOCA_H
 #include <alloca.h>
+#endif
 #include <string.h>
 #include <pthread.h>
 #include <sys/stat.h>




More information about the asterisk-commits mailing list