Browse Source

Use proper header for OpenBSD PPC CPU detection

Brad Smith 2 years ago
parent
commit
9723917637
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cpuinfo/SDL_cpuinfo.c

+ 1 - 1
src/cpuinfo/SDL_cpuinfo.c

@@ -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__)