cpuinfo: Include unistd.h for getpagesize() support, too.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user