mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-11 19:11:18 +02:00
21 lines
550 B
C
21 lines
550 B
C
--- rfb/rfb.h.orig 2019-01-06 19:09:30 UTC
|
|
+++ rfb/rfb.h
|
|
@@ -43,7 +43,7 @@ extern "C"
|
|
#include <string.h>
|
|
#include <rfb/rfbproto.h>
|
|
|
|
-#if defined(ANDROID) || defined(LIBVNCSERVER_HAVE_ANDROID)
|
|
+#if defined(ANDROID) || defined(LIBVNCSERVER_HAVE_ANDROID) || defined(__FreeBSD__)
|
|
#include <arpa/inet.h>
|
|
#include <sys/select.h>
|
|
#endif
|
|
@@ -266,6 +266,8 @@ typedef struct _rfbScreenInfo
|
|
rfbBool autoPort;
|
|
int port;
|
|
SOCKET listenSock;
|
|
+ SOCKET unixSock;
|
|
+ const char *unixSockPath;
|
|
int maxSock;
|
|
int maxFd;
|
|
#ifdef WIN32
|