projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edc5c82
)
if alloca.h is not present, try malloc.h
author
Luigi Rizzo
<rizzo@icir.org>
Sat, 17 Nov 2007 19:29:54 +0000
(19:29 +0000)
committer
Luigi Rizzo
<rizzo@icir.org>
Sat, 17 Nov 2007 19:29:54 +0000
(19:29 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89392
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
include/asterisk/compat.h
patch
|
blob
|
history
diff --git
a/include/asterisk/compat.h
b/include/asterisk/compat.h
index
5d97f49
..
ced14fc
100644
(file)
--- 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 */