diff options
author | jcalve <jcalve@users.noreply.github.com> | 2017-09-20 23:29:47 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-09-20 23:29:47 +0200 |
commit | 69f3c424c192561fb2c0c661b1ae6207492e93ec (patch) | |
tree | 68c34ce16827fbf8bbe010e33e41bbbabadd978c /src | |
parent | a016b64838ade54a726f602be53a0bbcf7fd8799 (diff) | |
download | minetest-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')
-rw-r--r-- | src/network/address.h | 1 |
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> |