commit | 908d2f78394a609dc2b015d5519689d1f88951b4 | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Wed Jul 18 12:03:20 2012 +0000 |
committer | Roger Meier <roger@apache.org> | Wed Jul 18 12:03:20 2012 +0000 |
tree | d60a6a31f0a45dd0a431a8e2da1db92c997be460 | |
parent | ae44abc6f93165968d82b7b7e50b4c5b99f5c332 [diff] |
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>