Sfoglia il codice sorgente

Merge pull request #4409 from jbeich/freebsd

network: unbreak build on FreeBSD
LC 6 anni fa
parent
commit
da2071455e
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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"