Re: [Spice-devel] [PATCH spice-server] Minor compatibility with FreeBSD system

2018-01-15 Thread Christophe Fergeau
Hey, Might have been worth splitting this a bit. Regardless of that, looks goodh to me, Acked-by: Christophe Fergeau On Wed, Jan 10, 2018 at 08:51:16AM +, Frediano Ziglio wrote: > Some additional header are needed to avoid undefined types. > SOL_TCP and IPPROTO_TCP have the same value in Lin

[Spice-devel] [PATCH spice-server] Minor compatibility with FreeBSD system

2018-01-10 Thread Frediano Ziglio
Some additional header are needed to avoid undefined types. SOL_TCP and IPPROTO_TCP have the same value in Linux but SOL_TCP is not defined in FreeBSD. Provide pthread_setname_np using pthread_set_name_np (same parameters). Patch is based on a patch from Oleg Ginzburg Signed-off-by: Frediano Zig