From 4bf51158a979d107932323bf4afab8616a9096da Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 24 Feb 2008 12:05:20 +0000 Subject: [PATCH] Add #include for Mac OS X, fixes the warning cpudetect.c:344: warning: implicit declaration of function sysctlbyname patch by Elias Pipping, elias pipping org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26085 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cpudetect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpudetect.c b/cpudetect.c index f7fee08e94..39465911d9 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -20,7 +20,7 @@ CpuCaps gCpuCaps; #include #endif -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__APPLE__) #include #include #endif