Browse Source

X11: Include limits.h for LONG_MAX

Fixes #44030.

(cherry picked from commit f1a9de9c592c4643a5cf0886d0ec5482e25212f7)
Rémi Verschelde 4 years ago
parent
commit
8633cbc825
1 changed files with 1 additions and 0 deletions
  1. 1 0
      platform/x11/os_x11.cpp

+ 1 - 0
platform/x11/os_x11.cpp

@@ -45,6 +45,7 @@
 #endif
 
 #include <errno.h>
+#include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>