diff options
Diffstat (limited to 'net/libvncserver/files/patch-common_vncauth.c')
-rw-r--r-- | net/libvncserver/files/patch-common_vncauth.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/libvncserver/files/patch-common_vncauth.c b/net/libvncserver/files/patch-common_vncauth.c new file mode 100644 index 000000000000..ddbe8704295e --- /dev/null +++ b/net/libvncserver/files/patch-common_vncauth.c @@ -0,0 +1,22 @@ +--- common/vncauth.c.orig 2017-07-05 07:43:58 UTC ++++ common/vncauth.c +@@ -42,6 +42,10 @@ + #include <sys/stat.h> + #endif + ++#ifdef __FreeBSD__ ++#include <fcntl.h> ++#endif ++ + #include <time.h> + + #ifdef WIN32 +@@ -196,6 +200,8 @@ rfbEncryptBytes(unsigned char *bytes, char *passwd) + rfbDes(bytes+i, bytes+i); + } + } ++ ++void rfbEncryptBytes2(unsigned char *, const int, unsigned char *); + + void + rfbEncryptBytes2(unsigned char *where, const int length, unsigned char *key) { |