aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-12 13:26:45 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-12 13:26:45 +0000
commit4b753c1924e930b594a079d03ea2813f72774bc2 (patch)
tree604ffcc18e2a0732a772adbe36cd1642e34f83cf /utils
parentf8c609617aa8f60076f42ede7ccd9be484a1b8ee (diff)
Fix building on FreeBSD by including/not including some headers.
(closes issue #11218) Reported by: ys Patches: trunk89169.diff uploaded by ys (license 281) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89177 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rw-r--r--utils/hashtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/hashtest.c b/utils/hashtest.c
index aa359ca53..80362a89b 100644
--- a/utils/hashtest.c
+++ b/utils/hashtest.c
@@ -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>