cpuinfo: Include unistd.h for getpagesize() support, too.

This commit is contained in:
Ryan C. Gordon
2025-10-10 21:52:41 -04:00
parent 9edee716d8
commit 6ab212bd13

View File

@@ -29,7 +29,7 @@
// CPU feature detection for SDL // CPU feature detection for SDL
#ifdef HAVE_SYSCONF #if defined(HAVE_SYSCONF) || defined(HAVE_GETPAGESIZE)
#include <unistd.h> #include <unistd.h>
#endif #endif
#ifdef HAVE_SYSCTLBYNAME #ifdef HAVE_SYSCTLBYNAME