From: Damjan Marion Date: Tue, 10 Jun 2014 16:03:50 +0000 (+0200) Subject: fix building on OS X and FreeBSD X-Git-Tag: v4.1~1945^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1c04df5a40bae73f043f0fe1e470be0a5f0dbe6;p=thirdparty%2Ftvheadend.git fix building on OS X and FreeBSD --- diff --git a/src/utils.c b/src/utils.c index c771c59f3..9c252a4bd 100644 --- a/src/utils.c +++ b/src/utils.c @@ -25,9 +25,16 @@ #include #include #include -#include #include "tvheadend.h" +#if defined(PLATFORM_DARWIN) +#include +#elif defined(PLATFORM_FREEBSD) +#include +#else +#include +#endif + #ifndef BYTE_ORDER #define BYTE_ORDER __BYTE_ORDER #endif