[Spice-devel] [PATCH 2/3] red-stream: add missing include
Frediano Ziglio
freddy77 at gmail.com
Sat Apr 17 10:07:57 UTC 2021
Il giorno sab 17 apr 2021 alle ore 09:52 Roman Bogorodskiy
<bogorodskiy at gmail.com> ha scritto:
>
> On FreeBSD, netinet/in.h needs to be included to use IPPROTO_TCP.
>
> Signed-off-by: Roman Bogorodskiy <bogorodskiy at gmail.com>
> ---
> 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
Nice.
Frediano
More information about the Spice-devel
mailing list