Skip to content

Commit

Permalink
Fix compile error in openbsd (#6430)
Browse files Browse the repository at this point in the history
Include the header that defines AF_INET and AF_INET6
  • Loading branch information
jcalve authored and nerzhul committed Sep 20, 2017
1 parent a016b64 commit 69f3c42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/network/address.h
Expand Up @@ -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>
Expand Down

0 comments on commit 69f3c42

Please sign in to comment.