commit | 2fa9c31e065fc35186c92c5d8b8c078b4f8d5a5f | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Mon Sep 05 19:15:53 2011 +0000 |
committer | Roger Meier <roger@apache.org> | Mon Sep 05 19:15:53 2011 +0000 |
tree | 16203c4ec7f4496f6112576d79382ce5418e6bb5 | |
parent | 212022cce6f31e363aa80c7b23336727b953d76f [diff] [blame] |
THRIFT-1320 Consistency of configure generated config.h Patch: Alexandre Parenteau git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1165400 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/protocol/TProtocol.h b/lib/cpp/src/protocol/TProtocol.h index 2656e5e..6c0a2d0 100644 --- a/lib/cpp/src/protocol/TProtocol.h +++ b/lib/cpp/src/protocol/TProtocol.h
@@ -26,7 +26,9 @@ #include <boost/shared_ptr.hpp> #include <boost/static_assert.hpp> +#ifdef HAVE_NETINET_IN_H #include <netinet/in.h> +#endif #include <sys/types.h> #include <string> #include <map>