diff options
author | mssx86 <mss@tutanota.de> | 2021-07-01 20:12:28 +0300 |
---|---|---|
committer | mssx86 <mss@tutanota.de> | 2021-07-01 20:12:28 +0300 |
commit | b8e80a67ea1567d67765687f6b6f8b34ff074e52 (patch) | |
tree | 06e0ee54d21dffe70b3a448ea4eae05f239eef29 | |
parent | 2071abd2953cf4602844f22cc91ca68a96984611 (diff) |
fix: add missing limits.h includes to enable bulding on musl.
-rw-r--r-- | src/core/CdStreamPosix.cpp | 1 | ||||
-rw-r--r-- | src/skel/crossplatform.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/CdStreamPosix.cpp b/src/core/CdStreamPosix.cpp index 30fe06a0..bc9129eb 100644 --- a/src/core/CdStreamPosix.cpp +++ b/src/core/CdStreamPosix.cpp @@ -13,6 +13,7 @@ #include <fcntl.h> #include <sys/resource.h> #include <stdarg.h> +#include <limits.h> #ifdef __linux__ #include <sys/syscall.h> diff --git a/src/skel/crossplatform.h b/src/skel/crossplatform.h index 6da13fb3..2dd9c162 100644 --- a/src/skel/crossplatform.h +++ b/src/skel/crossplatform.h @@ -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. |