Commit 78f8ef07 authored by Brad Smith's avatar Brad Smith Committed by Jean-Baptiste Kempf

Fix compilation due to missing headers on OpenBSD/powerpc

When the code for detecting the number of CPUs present was moved
the headers necessary to compile the AltiVec detection code on
OpenBSD/powerpc was mistakenly removed so this puts the headers
back as appropriate.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 6f8c945b)
parent 31d875e0
...@@ -47,6 +47,12 @@ ...@@ -47,6 +47,12 @@
#include <sys/sysctl.h> #include <sys/sysctl.h>
#endif #endif
#if defined(__OpenBSD__) && defined(__powerpc__)
#include <sys/param.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>
#endif
#include "libvlc.h" #include "libvlc.h"
static uint32_t cpu_flags; static uint32_t cpu_flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment