Fixed compiling for Raspberry Pi

This commit is contained in:
Sam Lantinga 2021-11-26 13:45:08 -08:00
parent 86c0cf2bb1
commit 4e5839a5f4
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@
#include "../core/android/SDL_android.h" #include "../core/android/SDL_android.h"
#include "../video/android/SDL_androidvideo.h" #include "../video/android/SDL_androidvideo.h"
#endif #endif
#if SDL_VIDEO_DRIVER_RPI
#include <unistd.h>
#endif
#include "SDL_sysvideo.h" #include "SDL_sysvideo.h"
#include "SDL_egl_c.h" #include "SDL_egl_c.h"