Ver código fonte

X11: Include limits.h for LONG_MAX

Fixes #44030.

(cherry picked from commit f1a9de9c592c4643a5cf0886d0ec5482e25212f7)
Rémi Verschelde 4 anos atrás
pai
commit
8633cbc825
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      platform/x11/os_x11.cpp

+ 1 - 0
platform/x11/os_x11.cpp

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