if alloca.h is not present, try malloc.h

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Luigi Rizzo 18 years ago
parent edc5c82569
commit 9f7fdc983f

@ -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 */

Loading…
Cancel
Save