Include llvm/Support/DataTypes.h to define intptr_t.
authorJohn Criswell <criswell@uiuc.edu>
Wed, 8 Nov 2006 15:04:35 +0000 (15:04 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Wed, 8 Nov 2006 15:04:35 +0000 (15:04 +0000)
This fixes the build on OpenBSD and potentially other systems.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31550 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Allocator.cpp

index 0d0367a6f13e3a5102715cbd2bc4a622a7f87d96..7e7477357fe431bcb9f64d52ee70b129fc2a5db7 100644 (file)
@@ -12,6 +12,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Support/Allocator.h"
+#include "llvm/Support/DataTypes.h"
 #include <iostream>
 using namespace llvm;