THRIFT-425. cpp: numeric_limits is declared in <limits>
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 3 Apr 2009 15:05:28 +0000 (15:05 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 3 Apr 2009 15:05:28 +0000 (15:05 +0000)
TCompactProtocol.cpp doesn't compile without including limits.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761705 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/src/protocol/TCompactProtocol.cpp

index 136c16c..ce2ee54 100644 (file)
@@ -20,6 +20,7 @@
 #include "TCompactProtocol.h"
 
 #include <config.h>
+#include <limits>
 
 /*
  * TCompactProtocol::i*ToZigzag depend on the fact that the right shift