aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-10-06 13:07:11 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-10-06 13:07:11 +0000
commit95e1836c313cbf9cf665ac0460b7e6c8e7f7902b (patch)
treebc022e98d2ef5c4dcebeabcdae70e30dfbfbd729 /include
parentd7ba7edc40d8b10972b4480e8e5db54e13edcb14 (diff)
downloadexternal_llvm-95e1836c313cbf9cf665ac0460b7e6c8e7f7902b.zip
external_llvm-95e1836c313cbf9cf665ac0460b7e6c8e7f7902b.tar.gz
external_llvm-95e1836c313cbf9cf665ac0460b7e6c8e7f7902b.tar.bz2
Include DataTypes.h to provide intptr_t type. This fixes OpenBSD compilation of this file.
Inspired by Laurence Tratt's patch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Pass.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index e38ee8f..068794d 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -29,6 +29,7 @@
#ifndef LLVM_PASS_H
#define LLVM_PASS_H
+#include "llvm/Support/DataTypes.h"
#include "llvm/Support/Streams.h"
#include <vector>
#include <deque>