aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit8ea2e68493562d738035e282726a93e7db543efd (patch)
treeace7ba4abe647a00e1642fc124c5e227932f2ded /llvm/lib/Support/Allocator.cpp
parent62bbc9ef582678536402b18dd3aab3c9366dd4b0 (diff)
downloadllvm-8ea2e68493562d738035e282726a93e7db543efd.zip
llvm-8ea2e68493562d738035e282726a93e7db543efd.tar.gz
llvm-8ea2e68493562d738035e282726a93e7db543efd.tar.bz2
Include llvm/Support/DataTypes.h to define intptr_t.
This fixes the build on OpenBSD and potentially other systems. llvm-svn: 31550
Diffstat (limited to 'llvm/lib/Support/Allocator.cpp')
-rw-r--r--llvm/lib/Support/Allocator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Allocator.cpp b/llvm/lib/Support/Allocator.cpp
index 0d0367a..7e74773 100644
--- a/llvm/lib/Support/Allocator.cpp
+++ b/llvm/lib/Support/Allocator.cpp
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/Allocator.h"
+#include "llvm/Support/DataTypes.h"
#include <iostream>
using namespace llvm;