diff options
Diffstat (limited to 'net')
-rwxr-xr-x | net/x_net_tcpreceive.c | 1 | ||||
-rwxr-xr-x | net/x_net_tcpsend.c | 1 | ||||
-rwxr-xr-x | net/x_net_udpreceive.c | 1 | ||||
-rwxr-xr-x | net/x_net_udpsend.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/net/x_net_tcpreceive.c b/net/x_net_tcpreceive.c index d5884e1..4cce77d 100755 --- a/net/x_net_tcpreceive.c +++ b/net/x_net_tcpreceive.c @@ -10,6 +10,7 @@ #include <winsock2.h> #include <ws2tcpip.h> /* for socklen_t */ #else +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> diff --git a/net/x_net_tcpsend.c b/net/x_net_tcpsend.c index 1a9937b..cf8c33d 100755 --- a/net/x_net_tcpsend.c +++ b/net/x_net_tcpsend.c @@ -11,6 +11,7 @@ #ifdef MSW #include <winsock2.h> #else +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> diff --git a/net/x_net_udpreceive.c b/net/x_net_udpreceive.c index 1aa9058..cef02b2 100755 --- a/net/x_net_udpreceive.c +++ b/net/x_net_udpreceive.c @@ -10,6 +10,7 @@ #include <winsock2.h> #include <ws2tcpip.h> #else +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> diff --git a/net/x_net_udpsend.c b/net/x_net_udpsend.c index 03c1f18..7b468f9 100755 --- a/net/x_net_udpsend.c +++ b/net/x_net_udpsend.c @@ -13,6 +13,7 @@ #ifdef MSW #include <winsock2.h> #else +#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> |