# HG changeset patch # User diego # Date 1203854720 0 # Node ID a48a280fc0e15cbc24a646339505519047f6e150 # Parent ce480034f391b0f4d16f76801831d6f055fcd3a6 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 diff -r ce480034f391 -r a48a280fc0e1 cpudetect.c --- a/cpudetect.c Sun Feb 24 11:39:35 2008 +0000 +++ b/cpudetect.c Sun Feb 24 12:05:20 2008 +0000 @@ -20,7 +20,7 @@ #include #endif -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__APPLE__) #include #include #endif