aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorjcalve <jcalve@users.noreply.github.com>2017-09-20 23:29:47 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-09-20 23:29:47 +0200
commit69f3c424c192561fb2c0c661b1ae6207492e93ec (patch)
tree68c34ce16827fbf8bbe010e33e41bbbabadd978c /src/network
parenta016b64838ade54a726f602be53a0bbcf7fd8799 (diff)
downloadminetest-69f3c424c192561fb2c0c661b1ae6207492e93ec.tar.gz
minetest-69f3c424c192561fb2c0c661b1ae6207492e93ec.tar.bz2
minetest-69f3c424c192561fb2c0c661b1ae6207492e93ec.zip
Fix compile error in openbsd (#6430)
Include the header that defines AF_INET and AF_INET6
Diffstat (limited to 'src/network')
-rw-r--r--src/network/address.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/address.h b/src/network/address.h
index 79ca21f8c..fb25b3565 100644
--- a/src/network/address.h
+++ b/src/network/address.h
@@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <ws2tcpip.h>
#else
#include <netinet/in.h>
+#include <sys/socket.h>
#endif
#include <ostream>