diff options
Diffstat (limited to 'raylib/src')
-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> |