aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-17 05:33:53 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-08-17 05:33:53 +0000
commit59fe72b56dd0b97625a8061304b257269c00d790 (patch)
treee7fe652cfea0ff7883c6a0609c37c3867780669b /net
parentf29e5ba61aebdda221b201e35bb47a4a9c885735 (diff)
added mrpeach targets and added missing header to get things compiling on Mac OS X
svn path=/trunk/externals/mrpeach/; revision=5636
Diffstat (limited to 'net')
-rwxr-xr-xnet/x_net_tcpreceive.c1
-rwxr-xr-xnet/x_net_tcpsend.c1
-rwxr-xr-xnet/x_net_udpreceive.c1
-rwxr-xr-xnet/x_net_udpsend.c1
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>