ref: 97551ec08a6f8215cd7c1871ff5356be5c0fd366
parent: 6c2e057e9ce8ffdd75e5d10d660526760ddc151e
author: Tanguy Fautre <[email protected]>
date: Sat Feb 22 20:30:25 EST 2020
Adding missing include for socket API.
--- a/Engine/src/mmulti.c
+++ b/Engine/src/mmulti.c
@@ -576,16 +576,17 @@
# define sockettype SOCKET
# define socketclose(x) closesocket(x)
#else
-# include <sys/types.h>
-# include <sys/socket.h>
-# include <netinet/in.h>
# include <arpa/inet.h>
-# include <netdb.h>
-# include <sys/uio.h>
+# include <netinet/in.h>
+# include <netinet/ip.h>
# include <sys/ioctl.h>
+# include <sys/socket.h>
# include <sys/time.h>
+# include <sys/types.h>
+# include <sys/uio.h>
# include <errno.h>
# include <fcntl.h>
+# include <netdb.h>
# include <time.h>
# define netstrerror() strerror(errno)
# define neterrno() errno