From 0d0d3ee9a7028113e3a6580f0de6166a3c806436 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sat, 14 Sep 2002 10:42:59 +0000 Subject: [PATCH] Add support for MacOS and (hopefully) other BSD derivatives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3717 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/DataTypes.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/Support/DataTypes.h b/include/Support/DataTypes.h index 063c4644577..473b5b9f38c 100644 --- a/include/Support/DataTypes.h +++ b/include/Support/DataTypes.h @@ -23,7 +23,11 @@ #include #ifdef __linux__ -#include +# include +#else +#if (BSD >= 199103) +# include +#endif #endif #ifdef __sparc__