THRIFT-1116 Compilation error in file TSSLSocket.cpp on FreeBSD-8.0
authorRoger Meier <roger@apache.org>
Fri, 25 Mar 2011 12:22:17 +0000 (12:22 +0000)
committerRoger Meier <roger@apache.org>
Fri, 25 Mar 2011 12:22:17 +0000 (12:22 +0000)
Patch: Pavlin Radoslavov

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1085347 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/src/transport/TSSLSocket.cpp

index 5e18e94..c8a3b25 100644 (file)
@@ -7,6 +7,8 @@
 #include <errno.h>
 #include <string>
 #include <arpa/inet.h>
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <boost/lexical_cast.hpp>
 #include <boost/shared_array.hpp>
 #include <openssl/err.h>