Author: dreiss
Date: Thu Apr 2 23:05:40 2009
New Revision: 761464
URL: http://svn.apache.org/viewvc?rev=761464&view=rev
Log:
cpp: Fix compiler and library compilation with newer glibc
Modified:
incubator/thrift/trunk/compiler/cpp/src/parse/t_type.h
incubator/thrift/trunk/lib/cpp/src/Thrift.h
incubator/thrift/trunk/lib/cpp/src/concurrency/Thread.h
incubator/thrift/trunk/lib/cpp/src/protocol/TBase64Utils.h
Modified: incubator/thrift/trunk/compiler/cpp/src/parse/t_type.h
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/compiler/cpp/src/parse/t_type.h?rev=761464&r1=761463&r2=761464&view=diff
==============================================================================
--- incubator/thrift/trunk/compiler/cpp/src/parse/t_type.h (original)
+++ incubator/thrift/trunk/compiler/cpp/src/parse/t_type.h Thu Apr 2 23:05:40
2009
@@ -23,6 +23,7 @@
#include <string>
#include <map>
#include <cstring>
+#include <stdint.h>
#include "t_doc.h"
// What's worse? This, or making a src/parse/non_inlined.cc?
Modified: incubator/thrift/trunk/lib/cpp/src/Thrift.h
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/Thrift.h?rev=761464&r1=761463&r2=761464&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/Thrift.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/Thrift.h Thu Apr 2 23:05:40 2009
@@ -23,6 +23,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include <stdio.h>
#include <netinet/in.h>
#ifdef HAVE_INTTYPES_H
Modified: incubator/thrift/trunk/lib/cpp/src/concurrency/Thread.h
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/concurrency/Thread.h?rev=761464&r1=761463&r2=761464&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/concurrency/Thread.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/concurrency/Thread.h Thu Apr 2 23:05:40
2009
@@ -20,6 +20,7 @@
#ifndef _THRIFT_CONCURRENCY_THREAD_H_
#define _THRIFT_CONCURRENCY_THREAD_H_ 1
+#include <stdint.h>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
Modified: incubator/thrift/trunk/lib/cpp/src/protocol/TBase64Utils.h
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/protocol/TBase64Utils.h?rev=761464&r1=761463&r2=761464&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/protocol/TBase64Utils.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/protocol/TBase64Utils.h Thu Apr 2
23:05:40 2009
@@ -20,6 +20,7 @@
#ifndef _THRIFT_PROTOCOL_TBASE64UTILS_H_
#define _THRIFT_PROTOCOL_TBASE64UTILS_H_
+#include <stdint.h>
#include <string>
namespace apache { namespace thrift { namespace protocol {