commit | 7247b8cfd63147287f613f4af56339db89d879b7 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Thu Apr 02 23:05:40 2009 +0000 |
committer | David Reiss <dreiss@apache.org> | Thu Apr 02 23:05:40 2009 +0000 |
tree | 3d6aa173faf51c3ef6ee4ba1c304a272d04085e2 | |
parent | e4d4ea0e834ed4d022bb38e53daae4985c04ee04 [diff] |
cpp: Fix compiler and library compilation with newer glibc git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761464 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/Thrift.h b/lib/cpp/src/Thrift.h index 83bef47..26d2b0f 100644 --- a/lib/cpp/src/Thrift.h +++ b/lib/cpp/src/Thrift.h
@@ -23,6 +23,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include <stdio.h> #include <netinet/in.h> #ifdef HAVE_INTTYPES_H
diff --git a/lib/cpp/src/concurrency/Thread.h b/lib/cpp/src/concurrency/Thread.h index 6b9fc03..d4282ad 100644 --- a/lib/cpp/src/concurrency/Thread.h +++ b/lib/cpp/src/concurrency/Thread.h
@@ -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>
diff --git a/lib/cpp/src/protocol/TBase64Utils.h b/lib/cpp/src/protocol/TBase64Utils.h index e6b172a..3def733 100644 --- a/lib/cpp/src/protocol/TBase64Utils.h +++ b/lib/cpp/src/protocol/TBase64Utils.h
@@ -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 {