freebsd-ports/net/libvncserver/files/patch-client__examples_sshtunnel.c
Neel Chauhan 14c0b3dee8 net/libvncserver: Fix build
PR:		269039
Reported by:	VVD <vvd@unislabs.com>
2023-01-18 15:00:11 -08:00

13 lines
313 B
C

--- 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... */