From 7247b8cfd63147287f613f4af56339db89d879b7 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Thu, 2 Apr 2009 23:05:40 +0000 Subject: [PATCH] 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 --- compiler/cpp/src/parse/t_type.h | 1 + lib/cpp/src/Thrift.h | 1 + lib/cpp/src/concurrency/Thread.h | 1 + lib/cpp/src/protocol/TBase64Utils.h | 1 + 4 files changed, 4 insertions(+) diff --git a/compiler/cpp/src/parse/t_type.h b/compiler/cpp/src/parse/t_type.h index e7e459c4..4ce2eda1 100644 --- a/compiler/cpp/src/parse/t_type.h +++ b/compiler/cpp/src/parse/t_type.h @@ -23,6 +23,7 @@ #include #include #include +#include #include "t_doc.h" // What's worse? This, or making a src/parse/non_inlined.cc? diff --git a/lib/cpp/src/Thrift.h b/lib/cpp/src/Thrift.h index 83bef47f..26d2b0fc 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 #include #ifdef HAVE_INTTYPES_H diff --git a/lib/cpp/src/concurrency/Thread.h b/lib/cpp/src/concurrency/Thread.h index 6b9fc032..d4282adb 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 #include #include diff --git a/lib/cpp/src/protocol/TBase64Utils.h b/lib/cpp/src/protocol/TBase64Utils.h index e6b172a9..3def7335 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 #include namespace apache { namespace thrift { namespace protocol { -- 2.17.1