diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-06-20 20:59:29 +0200 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-06-20 20:59:29 +0200 |
commit | 47ba9fbd5da544fd65fa503cb3cc95f3033246a4 (patch) | |
tree | 8f043f0a5f47ea550da4cef66166617c6693c758 | |
parent | add raylib to the build chain with -O3 and -march=native (diff) | |
download | yabs-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.c | 6 |
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> |