summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
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
parent62bbc9ef582678536402b18dd3aab3c9366dd4b0 (diff)
downloadbcm5719-llvm-8ea2e68493562d738035e282726a93e7db543efd.tar.gz
bcm5719-llvm-8ea2e68493562d738035e282726a93e7db543efd.zip
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')
-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 0d0367a6f13..7e7477357fe 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;
OpenPOWER on IntegriCloud