summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-02 15:43:29 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-12-02 15:43:29 +0100
commitf1a9de9c592c4643a5cf0886d0ec5482e25212f7 (patch)
treeb982fa6f0051767b99940998b7c946d74d5597a7
parentd1231be1c8f8f2c16fd1047adcd3c7f997a07c1f (diff)
X11: Include limits.h for LONG_MAX
Fixes #44030.
-rw-r--r--platform/linuxbsd/display_server_x11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linuxbsd/display_server_x11.cpp b/platform/linuxbsd/display_server_x11.cpp
index 356668a375..c7559e4a40 100644
--- a/platform/linuxbsd/display_server_x11.cpp
+++ b/platform/linuxbsd/display_server_x11.cpp
@@ -43,6 +43,7 @@
#include "servers/rendering/rasterizer_rd/rasterizer_rd.h"
#endif
+#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>