projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a016b64
)
Fix compile error in openbsd (#6430)
author
jcalve
<jcalve@users.noreply.github.com>
Wed, 20 Sep 2017 21:29:47 +0000
(23:29 +0200)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Wed, 20 Sep 2017 21:29:47 +0000
(23:29 +0200)
Include the header that defines AF_INET and AF_INET6
src/network/address.h
patch
|
blob
|
history
diff --git
a/src/network/address.h
b/src/network/address.h
index 79ca21f8c51a7ddb4a3956b8557973bb4fcd701d..fb25b35650e2b64c5094fe72ffb562d0e26058a5 100644
(file)
--- 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>