diff options
author | Joshua Colp <jcolp@digium.com> | 2007-11-12 13:26:45 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-11-12 13:26:45 +0000 |
commit | 098728eb6488023a144714545bfc8dcbcee6f862 (patch) | |
tree | 604ffcc18e2a0732a772adbe36cd1642e34f83cf /utils | |
parent | 4f289131e65702d73feb1ebf3d716aa1f9cfff47 (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: https://origsvn.digium.com/svn/asterisk/trunk@89177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r-- | utils/hashtest.c | 2 |
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> |