1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

net/libvncserver: Fix build

PR:		269039
Reported by:	VVD <vvd@unislabs.com>
This commit is contained in:
Neel Chauhan 2023-01-18 15:00:11 -08:00
parent cf3625f621
commit 14c0b3dee8

View File

@ -0,0 +1,12 @@
--- client_examples/sshtunnel.c.orig 2023-01-18 22:59:01 UTC
+++ client_examples/sshtunnel.c
@@ -16,6 +16,9 @@
#include <netdb.h>
#include <signal.h>
#include <errno.h>
+#ifdef __FreeBSD__
+#include <sys/socket.h>
+#endif
/* The one global bool that's global so we can set it via
a signal handler... */