From e995cc897b8a0d2b2828612cb0b226b7520fea86 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 28 Oct 2014 14:37:21 +0000 Subject: [PATCH] Include unistd.h on POSIX, not just on __linux__. Should fix use of fork() on OS X. --- contrib/bobtoolz/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/bobtoolz/misc.cpp b/contrib/bobtoolz/misc.cpp index aa22640a..977879f5 100644 --- a/contrib/bobtoolz/misc.cpp +++ b/contrib/bobtoolz/misc.cpp @@ -31,7 +31,7 @@ #include "funchandlers.h" -#ifdef __linux__ +#if defined ( POSIX ) #include #include #endif -- 2.39.2