Ver Fonte

Merge pull request #4409 from jbeich/freebsd

network: unbreak build on FreeBSD
LC há 6 anos atrás
pai
commit
da2071455e
1 ficheiros alterados com 2 adições e 0 exclusões
  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"