Skip to content

Commit 69f3c42

Browse files
jcalvenerzhul
authored andcommittedSep 20, 2017
Fix compile error in openbsd (#6430)
Include the header that defines AF_INET and AF_INET6
1 parent a016b64 commit 69f3c42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/network/address.h

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2828
#include <ws2tcpip.h>
2929
#else
3030
#include <netinet/in.h>
31+
#include <sys/socket.h>
3132
#endif
3233

3334
#include <ostream>

0 commit comments

Comments
 (0)
Please sign in to comment.