summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormssx86 <mss@tutanota.de>2021-07-01 19:12:28 +0200
committermssx86 <mss@tutanota.de>2021-07-01 19:12:28 +0200
commitb8e80a67ea1567d67765687f6b6f8b34ff074e52 (patch)
tree06e0ee54d21dffe70b3a448ea4eae05f239eef29 /src
parentzero out work_buff before writing padding in save (diff)
downloadre3-b8e80a67ea1567d67765687f6b6f8b34ff074e52.tar
re3-b8e80a67ea1567d67765687f6b6f8b34ff074e52.tar.gz
re3-b8e80a67ea1567d67765687f6b6f8b34ff074e52.tar.bz2
re3-b8e80a67ea1567d67765687f6b6f8b34ff074e52.tar.lz
re3-b8e80a67ea1567d67765687f6b6f8b34ff074e52.tar.xz
re3-b8e80a67ea1567d67765687f6b6f8b34ff074e52.tar.zst
re3-b8e80a67ea1567d67765687f6b6f8b34ff074e52.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 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.