From: Vikram S. Adve Date: Sat, 14 Sep 2002 10:42:59 +0000 (+0000) Subject: Add support for MacOS and (hopefully) other BSD derivatives. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0d0d3ee9a7028113e3a6580f0de6166a3c806436;p=oota-llvm.git 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 --- 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__