فهرست منبع

Fixed compiling for Raspberry Pi

Sam Lantinga 3 سال پیش
والد
کامیت
4e5839a5f4
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      src/video/SDL_egl.c

+ 3 - 0
src/video/SDL_egl.c

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