Minor compatibility with FreeBSD system

Enterprise / Virtualization / SPICE - Frediano Ziglio [redhat.com] - 15 January 2018 16:52 EST

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

7a25e46c Minor compatibility with FreeBSD system
configure.ac | 2 +-
server/net-utils.c | 5 ++++-
server/red-worker.c | 6 ++++++
server/sound.c | 2 ++
server/tests/test-display-base.c | 2 +-
5 files changed, 14 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share