Fix compile error in openbsd (#6430)

Include the header that defines AF_INET and AF_INET6
This commit is contained in:
jcalve 2017-09-20 23:29:47 +02:00 committed by Loïc Blot
parent a016b64838
commit 69f3c424c1
1 changed files with 1 additions and 0 deletions

View File

@ -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>