include alloca.h if available. this helps Solaris, but intnat and uintnat types are still undefined, causing errors

llvm-svn: 42129
This commit is contained in:
Gabor Greif 2007-09-19 09:29:58 +00:00
parent 4e426623f5
commit ef858c9ff6
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,11 @@
#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 -----------------------------------------------------------===*/