Thrift-1846:Restore socket.h header to support builds with Android NDK
authorJake Farrell <jfarrell@apache.org>
Tue, 2 Apr 2013 01:39:03 +0000 (21:39 -0400)
committerJake Farrell <jfarrell@apache.org>
Tue, 2 Apr 2013 01:39:03 +0000 (21:39 -0400)
commitc613cd2d9bc01ee4eb43a3d40a8691c736f7a316
treea97cff9b641a83fbaf27f18a33799a0c913517d2
parent8f9b4d86acfeb81f9418d38e0f3718e5526b1f70
Thrift-1846:Restore socket.h header to support builds with Android NDK
Client: cpp
Patch: Nicolas Trésegnie

moves the <sys/socket.h> include from TSocket.h to the .cpp to minimize the risk of hidden dependencies.
lib/cpp/src/thrift/transport/TSocket.cpp
lib/cpp/src/thrift/transport/TSocket.h