[vlc-commits] misc/cpu: fixed compilation on Darwin (PPC)
Felix Paul Kühne
git at videolan.org
Sat Jul 23 10:40:47 CEST 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jul 23 10:40:36 2011 +0200| [cfcbdae73ea6be3e082bce4ccf9e915eb6169008] | committer: Felix Paul Kühne
misc/cpu: fixed compilation on Darwin (PPC)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfcbdae73ea6be3e082bce4ccf9e915eb6169008
---
src/misc/cpu.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 81f6948..20520d2 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -43,6 +43,10 @@
#endif
#include <assert.h>
+#ifdef __APPLE__
+#include <sys/sysctl.h>
+#endif
+
#include "libvlc.h"
#if defined( __i386__ ) || defined( __x86_64__ ) || defined( __powerpc__ ) \
More information about the vlc-commits
mailing list