mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-13 15:23:34 +00:00
cpuinfo: Include unistd.h for getpagesize() support, too.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
// CPU feature detection for SDL
|
||||
|
||||
#ifdef HAVE_SYSCONF
|
||||
#if defined(HAVE_SYSCONF) || defined(HAVE_GETPAGESIZE)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYSCTLBYNAME
|
||||
|
||||
Reference in New Issue
Block a user