Browse Source

X11: Include limits.h for LONG_MAX

Fixes #44030.
Rémi Verschelde 4 years ago
parent
commit
f1a9de9c59
1 changed files with 1 additions and 0 deletions
  1. 1 0
      platform/linuxbsd/display_server_x11.cpp

+ 1 - 0
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>