summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry>2008-08-08 23:18:18 +0000
committergmcgarry <gmcgarry>2008-08-08 23:18:18 +0000
commit268ad2373c3e509621498bc933ff1adbd72b30c1 (patch)
tree9cacae320fdfed0749dd2e596aaf92c234ca1b78
parentb58bbb466281e81319f1df2757d2bc5fbfbc3449 (diff)
Also try to find alloca() declaration in malloc.h.
-rw-r--r--cpp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp.c b/cpp.c
index e475800..0f97774 100644
--- a/cpp.c
+++ b/cpp.c
@@ -86,6 +86,9 @@
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
#include "compat.h"
#include "cpp.h"