aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-06-20 20:59:29 +0200
committersalaaad2 <arthurdurant263@gmail.com>2022-06-20 20:59:29 +0200
commit47ba9fbd5da544fd65fa503cb3cc95f3033246a4 (patch)
tree8f043f0a5f47ea550da4cef66166617c6693c758
parentadd raylib to the build chain with -O3 and -march=native (diff)
downloadyabs-47ba9fbd5da544fd65fa503cb3cc95f3033246a4.tar.gz
yabs-47ba9fbd5da544fd65fa503cb3cc95f3033246a4.tar.bz2
yabs-47ba9fbd5da544fd65fa503cb3cc95f3033246a4.tar.xz
yabs-47ba9fbd5da544fd65fa503cb3cc95f3033246a4.tar.zst
yabs-47ba9fbd5da544fd65fa503cb3cc95f3033246a4.zip
systime
-rw-r--r--raylib/src/external/glfw/src/wl_init.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/raylib/src/external/glfw/src/wl_init.c b/raylib/src/external/glfw/src/wl_init.c
index 21a808a..748a994 100644
--- a/raylib/src/external/glfw/src/wl_init.c
+++ b/raylib/src/external/glfw/src/wl_init.c
@@ -40,7 +40,11 @@
#include <sys/mman.h>
#include <sys/timerfd.h>
#include <unistd.h>
-#include <time.h>
+#ifdef __linux__
+# include <time.h>
+#else
+# include <sys/time.h>
+#endif
#include <wayland-client.h>