[ https://issues.apache.org/jira/browse/THRIFT-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell closed THRIFT-1295. -------------------------------- Resolution: Fixed Assignee: Diwaker Gupta Committed, thanks > Duplicate include in TSocket.cpp > -------------------------------- > > Key: THRIFT-1295 > URL: https://issues.apache.org/jira/browse/THRIFT-1295 > Project: Thrift > Issue Type: Improvement > Components: C++ - Library > Affects Versions: 0.7 > Reporter: Diwaker Gupta > Assignee: Diwaker Gupta > Priority: Trivial > Fix For: 0.8 > > > TSocket.cpp includes netdb.in which is already included by TSocket.h. Trivial > diff: > {noformat} > --- lib/cpp/src/transport/TSocket.cpp > +++ lib/cpp/src/transport/TSocket.cpp > @@ -27,7 +27,6 @@ > #include <arpa/inet.h> > #include <netinet/in.h> > #include <netinet/tcp.h> > -#include <netdb.h> > #include <unistd.h> > #include <errno.h> > #include <fcntl.h> > {noformat} -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira