fix: add missing limits.h includes to enable bulding on musl.

This commit is contained in:
mssx86 2021-07-01 20:12:28 +03:00
parent 2071abd295
commit b8e80a67ea
No known key found for this signature in database
GPG key ID: B451C173C6C12F2C
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@
#include <fcntl.h>
#include <sys/resource.h>
#include <stdarg.h>
#include <limits.h>
#ifdef __linux__
#include <sys/syscall.h>

View file

@ -1,4 +1,5 @@
#include <time.h>
#include <limits.h>
// This is the common include for platform/renderer specific skeletons(glfw.cpp, win.cpp etc.) and using cross platform things (like Windows directories wrapper, platform specific global arrays etc.)
// Functions that's different on glfw and win but have same signature, should be located on platform.h.