소스 검색

Merge pull request #4409 from jbeich/freebsd

network: unbreak build on FreeBSD
LC 6 년 전
부모
커밋
da2071455e
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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"