Explorar o código

Merge pull request #4409 from jbeich/freebsd

network: unbreak build on FreeBSD
LC %!s(int64=6) %!d(string=hai) anos
pai
achega
da2071455e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/core/network/network.cpp

+ 2 - 0
src/core/network/network.cpp

@@ -15,7 +15,9 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <netdb.h>
+#include <netinet/in.h>
 #include <poll.h>
+#include <sys/socket.h>
 #include <unistd.h>
 #else
 #error "Unimplemented platform"