summaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-11 22:34:34 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-11 22:34:34 +0200
commitcabe6f1d65a84a6f047553eb5d859f407bff6a70 (patch)
treeb70aaf5b3937dea408aea5c7481c90481eefbe03 /src/socket.h
parentdad2455a032d6b3911cd650429f9c0c4c1642cc0 (diff)
downloadminetest-cabe6f1d65a84a6f047553eb5d859f407bff6a70.tar.gz
minetest-cabe6f1d65a84a6f047553eb5d859f407bff6a70.tar.bz2
minetest-cabe6f1d65a84a6f047553eb5d859f407bff6a70.zip
some fixes to make compiling on some bsd easier
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h
index 6b7a2462e..c2b496e9e 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -35,6 +35,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
typedef SOCKET socket_t;
typedef int socklen_t;
#else
+ #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <fcntl.h>