Parcourir la source

Merge pull request #4409 from jbeich/freebsd

network: unbreak build on FreeBSD
LC il y a 6 ans
Parent
commit
da2071455e
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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"