summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormssx86 <mss@tutanota.de>2021-07-01 19:12:28 +0200
committerwithmorten <morten.with@gmail.com>2021-07-05 22:40:21 +0200
commitc5e896c4202e6518a31cf7edb5a4f9c8bfdb2dea (patch)
tree50d5249ec5fb9a075a0b3a5655ef5f79a69a165b /src
parentfix cmake workflow (diff)
downloadre3-c5e896c4202e6518a31cf7edb5a4f9c8bfdb2dea.tar
re3-c5e896c4202e6518a31cf7edb5a4f9c8bfdb2dea.tar.gz
re3-c5e896c4202e6518a31cf7edb5a4f9c8bfdb2dea.tar.bz2
re3-c5e896c4202e6518a31cf7edb5a4f9c8bfdb2dea.tar.lz
re3-c5e896c4202e6518a31cf7edb5a4f9c8bfdb2dea.tar.xz
re3-c5e896c4202e6518a31cf7edb5a4f9c8bfdb2dea.tar.zst
re3-c5e896c4202e6518a31cf7edb5a4f9c8bfdb2dea.zip
Diffstat (limited to 'src')
-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 24c3fb4d..a073f854 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.