THRIFT-1116 Compilation error in file TSSLSocket.cpp on FreeBSD-8.0 
Patch: Pavlin Radoslavov


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1362896 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/c_glib/src/thrift/transport/thrift_framed_transport.c b/lib/c_glib/src/thrift/transport/thrift_framed_transport.c
index d764d48..ad4c2eb 100644
--- a/lib/c_glib/src/thrift/transport/thrift_framed_transport.c
+++ b/lib/c_glib/src/thrift/transport/thrift_framed_transport.c
@@ -23,6 +23,8 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 
 #include <thrift/thrift.h>
 #include <thrift/transport/thrift_transport.h>
diff --git a/lib/c_glib/src/thrift/transport/thrift_server_socket.c b/lib/c_glib/src/thrift/transport/thrift_server_socket.c
index 88093f2..c7c6664 100644
--- a/lib/c_glib/src/thrift/transport/thrift_server_socket.c
+++ b/lib/c_glib/src/thrift/transport/thrift_server_socket.c
@@ -22,6 +22,8 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 
 #include <thrift/thrift.h>
 #include <thrift/transport/thrift_socket.h>
diff --git a/lib/c_glib/src/thrift/transport/thrift_socket.c b/lib/c_glib/src/thrift/transport/thrift_socket.c
index c258898..0716baa 100644
--- a/lib/c_glib/src/thrift/transport/thrift_socket.c
+++ b/lib/c_glib/src/thrift/transport/thrift_socket.c
@@ -22,6 +22,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 
 #include <thrift/thrift.h>
 #include <thrift/transport/thrift_transport.h>