mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
we use the shared library with dlopen(3). - Bump PORTREVISION. Sponsored by: iXsystems, Inc.
22 lines
477 B
C
22 lines
477 B
C
--- 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) {
|