summaryrefslogtreecommitdiff
path: root/lib/Support/Allocator.cpp
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2006-11-08 15:04:35 +0000
committerJohn Criswell <criswell@uiuc.edu>2006-11-08 15:04:35 +0000
commit72a780f5777cfbeabab6d684a0d360a1f8810a6e (patch)
treef0f62f2ad61e9ae022cdf7562cbcf74fa4e52806 /lib/Support/Allocator.cpp
parent6ea0f6bce837a0133f9f0bc0ee0f1f7eb1e91644 (diff)
downloadllvm-72a780f5777cfbeabab6d684a0d360a1f8810a6e.tar.gz
llvm-72a780f5777cfbeabab6d684a0d360a1f8810a6e.tar.bz2
llvm-72a780f5777cfbeabab6d684a0d360a1f8810a6e.tar.xz
Include llvm/Support/DataTypes.h to define intptr_t.
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
Diffstat (limited to 'lib/Support/Allocator.cpp')
-rw-r--r--lib/Support/Allocator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/Allocator.cpp b/lib/Support/Allocator.cpp
index 0d0367a6f1..7e7477357f 100644
--- a/lib/Support/Allocator.cpp
+++ b/lib/Support/Allocator.cpp
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/Allocator.h"
+#include "llvm/Support/DataTypes.h"
#include <iostream>
using namespace llvm;