From 22738d00a30670d5227b47fe2b34d044cebd481c Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 6 Aug 2012 20:52:18 +0000 Subject: Add support for the OpenBSD for Bitrig. Patch by David Hill. llvm-svn: 161344 --- llvm/lib/Support/Unix/Process.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Support/Unix/Process.inc') diff --git a/llvm/lib/Support/Unix/Process.inc b/llvm/lib/Support/Unix/Process.inc index 174112e..5204147 100644 --- a/llvm/lib/Support/Unix/Process.inc +++ b/llvm/lib/Support/Unix/Process.inc @@ -20,9 +20,10 @@ #ifdef HAVE_SYS_RESOURCE_H #include #endif -// DragonFly BSD has deprecated for instead, -// Unix.h includes this for us already. -#if defined(HAVE_MALLOC_H) && !defined(__DragonFly__) +// DragonFlyBSD, OpenBSD, and Bitrig have deprecated for +// instead. Unix.h includes this for us already. +#if defined(HAVE_MALLOC_H) && !defined(__DragonFly__) && \ + !defined(__OpenBSD__) && !defined(__Bitrig__) #include #endif #ifdef HAVE_MALLOC_MALLOC_H -- cgit v1.1