diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 19:29:54 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 19:29:54 +0000 |
commit | 7c4aecdfc4c81c13325a4f0223ef56c55a4923b0 (patch) | |
tree | 73afa801c1e8619c8b9fa7267a62ae9937f5a3c0 /include/asterisk/compat.h | |
parent | 42defef5f82e8b4bde72c0a27add8d689fc23f5a (diff) |
if alloca.h is not present, try malloc.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89392 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/compat.h')
-rw-r--r-- | include/asterisk/compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 5d97f4915..ced14fc41 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -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 */ |