diff options
author | Joshua Colp <jcolp@digium.com> | 2007-09-11 13:37:26 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-09-11 13:37:26 +0000 |
commit | 219470dc438ce433ac2d6196513129cc186f0931 (patch) | |
tree | 1ac7ede615ef6c68809f7d970e50ac5ef96a18ad /utils/hashtest2.c | |
parent | e4c8ac7abd0822fd6b03f0ece0649eb4ae079f44 (diff) |
Fix building under FreeBSD. Make sure alloca.h exists before including it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/hashtest2.c')
-rw-r--r-- | utils/hashtest2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/hashtest2.c b/utils/hashtest2.c index b71684939..5242d34ec 100644 --- a/utils/hashtest2.c +++ b/utils/hashtest2.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> |