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:
		
							parent
							
								
									4e426623f5
								
							
						
					
					
						commit
						ef858c9ff6
					
				| 
						 | 
				
			
			@ -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 -----------------------------------------------------------===*/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue