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 | #include <unistd.h> | 28 | #include <unistd.h> |
| 29 | #endif | 29 | #endif |
| 30 | #elif defined(__OpenBSD__) | 30 | #elif defined(__OpenBSD__) |
| 31 | #include <sys/param.h> | 31 | #include <sys/types.h> |
| 32 | #include <sys/sysctl.h> | 32 | #include <sys/sysctl.h> |
| 33 | #include <machine/cpu.h> | 33 | #include <machine/cpu.h> |
| 34 | #elif defined(__AMIGAOS4__) | 34 | #elif defined(__AMIGAOS4__) |