diff --git a/indra/llcommon/stdtypes.h b/indra/llcommon/stdtypes.h
index 6b25b2d355d577c439e019b3049098689588f92c..af0b4dd4ede6154c2892bf1114a3a6ae9730db77 100644
--- a/indra/llcommon/stdtypes.h
+++ b/indra/llcommon/stdtypes.h
@@ -33,6 +33,7 @@
 #define LL_STDTYPES_H
 
 #include <cfloat>
+#include <climits>
 
 typedef signed char			S8;
 typedef unsigned char			U8;