Mercurial > mplayer.hg
changeset 26053:a48a280fc0e1
Add #include <sys/sysctl.h> for Mac OS X, fixes the warning
cpudetect.c:344: warning: implicit declaration of function sysctlbyname
patch by Elias Pipping, elias pipping org
author | diego |
---|---|
date | Sun, 24 Feb 2008 12:05:20 +0000 |
parents | ce480034f391 |
children | d9b11d83367f |
files | cpudetect.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <machine/cpu.h> #endif -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__APPLE__) #include <sys/types.h> #include <sys/sysctl.h> #endif