Use proper header for OpenBSD PPC CPU detection

This commit is contained in:
Brad Smith 2022-06-25 23:33:53 -04:00 committed by Sam Lantinga
parent 0a9a0a79e0
commit 9723917637
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
#if defined(__MACOSX__) && (defined(__ppc__) || defined(__ppc64__))
#include <sys/sysctl.h> /* For AltiVec check */
#elif defined(__OpenBSD__) && defined(__powerpc__)
#include <sys/param.h>
#include <sys/types.h>
#include <sys/sysctl.h> /* For AltiVec check */
#include <machine/cpu.h>
#elif defined(__FreeBSD__) && defined(__powerpc__)