commit | 94352d96bba1a83c89f68080888f43388da40d71 | [log] [tgz] |
---|---|---|
author | Nicolas Capens <capn@google.com> | Thu Jun 11 08:53:40 2015 -0500 |
committer | Nicolas Capens <capn@google.com> | Thu Jun 11 14:21:44 2015 +0000 |
tree | 2c1ee7f5d0859107bac8cf2e608a5ddbf121424c | |
parent | 1dfcb934f21d5b2a0e1fb47b3efc49cdca27c361 [diff] [blame] |
Fix Linux compilation. INT_MAX is defined in limits.h Change-Id: Ic7e223aebae594e1ed18e1185edc573114d851ff Reviewed-on: https://swiftshader-review.googlesource.com/3474 Reviewed-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com> Tested-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/compiler/SymbolTable.cpp b/src/OpenGL/compiler/SymbolTable.cpp index 2881977..ad3488e 100644 --- a/src/OpenGL/compiler/SymbolTable.cpp +++ b/src/OpenGL/compiler/SymbolTable.cpp
@@ -16,6 +16,7 @@ #include "SymbolTable.h" #include <stdio.h> +#include <limits.h> #include <algorithm> #if defined(_MSC_VER)