Commit 6f8c945b 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>
parent 760e0cba
......@@ -50,6 +50,12 @@
#include <sys/sysctl.h>
#endif
#if defined(__OpenBSD__) && defined(__powerpc__)
#include <sys/param.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>
#endif
static uint32_t cpu_flags;
#if defined (__i386__) || defined (__x86_64__) || defined (__powerpc__) \
......
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