From 57db1734af6d7bc9bb2659272122f875d62946a4 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sat, 6 Oct 2007 13:07:11 +0000 Subject: [PATCH] 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 --- include/llvm/Pass.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index e38ee8fda30..068794d05c0 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 #include