projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
437c27c
)
include alloca.h if available. this helps Solaris, but intnat and uintnat types are...
author
Gabor Greif
<ggreif@gmail.com>
Wed, 19 Sep 2007 09:29:58 +0000
(09:29 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Wed, 19 Sep 2007 09:29:58 +0000
(09:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42129
91177308
-0d34-0410-b5e6-
96231b3b80d8
bindings/ocaml/llvm/llvm_ocaml.c
patch
|
blob
|
history
diff --git
a/bindings/ocaml/llvm/llvm_ocaml.c
b/bindings/ocaml/llvm/llvm_ocaml.c
index ae07fb20fdc5e71583f287b918bca1b0ca6b9466..c297a5f3e6f7688580b4a91f67915b2b99351ab1 100644
(file)
--- a/
bindings/ocaml/llvm/llvm_ocaml.c
+++ b/
bindings/ocaml/llvm/llvm_ocaml.c
@@
-19,7
+19,11
@@
#include "caml/alloc.h"
#include "caml/mlvalues.h"
#include "caml/memory.h"
#include "caml/alloc.h"
#include "caml/mlvalues.h"
#include "caml/memory.h"
-#include "stdio.h"
+#include "llvm/Config/config.h"
+#include <stdio.h>
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
/*===-- Modules -----------------------------------------------------------===*/
/*===-- Modules -----------------------------------------------------------===*/