On FreeBSD, netinet/in.h needs to be included to use IPPROTO_TCP. Signed-off-by: Roman Bogorodskiy <bogorodskiy@xxxxxxxxx> --- server/red-stream.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/red-stream.cpp b/server/red-stream.cpp index fee45f30..090883f3 100644 --- a/server/red-stream.cpp +++ b/server/red-stream.cpp @@ -24,6 +24,7 @@ #include <netdb.h> #include <sys/socket.h> #include <netinet/tcp.h> +#include <netinet/in.h> #else #include <ws2tcpip.h> #endif -- 2.30.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel