1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

some fixes to make compiling on some bsd easier

This commit is contained in:
Perttu Ahola 2011-02-11 22:34:34 +02:00
parent dad2455a03
commit cabe6f1d65
3 changed files with 10 additions and 3 deletions

View file

@ -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>