summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-07-05 19:50:18 +0200
committerGitHub <noreply@github.com>2021-07-05 19:50:18 +0200
commit386b113603305ed968e239e3710b62cc07f290dd (patch)
treea421cccbd8f95531e6baf7c4776aee85b0109da3
parentfix cmake workflow (diff)
parentfix: add missing limits.h includes to enable bulding on musl. (diff)
downloadre3-386b113603305ed968e239e3710b62cc07f290dd.tar
re3-386b113603305ed968e239e3710b62cc07f290dd.tar.gz
re3-386b113603305ed968e239e3710b62cc07f290dd.tar.bz2
re3-386b113603305ed968e239e3710b62cc07f290dd.tar.lz
re3-386b113603305ed968e239e3710b62cc07f290dd.tar.xz
re3-386b113603305ed968e239e3710b62cc07f290dd.tar.zst
re3-386b113603305ed968e239e3710b62cc07f290dd.zip
-rw-r--r--src/core/CdStreamPosix.cpp1
-rw-r--r--src/skel/crossplatform.h1
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.