Use the proper header for PPC CPU detection code. sys/param.h includes sys/types, but sys/types.h is the more appropriate header to be used here.
Unified · Split
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include <unistd.h> |
| 29 | 29 | #endif |
| 30 | 30 | #elif defined(__OpenBSD__) |
| 31 | −#include <sys/param.h> | |
| 31 | +#include <sys/types.h> | |
| 32 | 32 | #include <sys/sysctl.h> |
| 33 | 33 | #include <machine/cpu.h> |
| 34 | 34 | #elif defined(__AMIGAOS4__) |