freebsd-ports/security/putty/files/patch-uxucs.c
Dirk Meyer 4d3b1de9f7 PuTTY is a client program for the SSH, Telnet and Rlogin network protocols.
These protocols are all used to run a remote session on a computer,
over a network. PuTTY implements the client end of that session:
the end at which the session is displayed, rather than the end
at which it runs.

WWW: http://www.chiark.greenend.org.uk/~sgtatham/putty/
2004-02-13 17:45:39 +00:00

19 lines
464 B
C

--- uxucs.c.orig Sat Apr 26 16:22:42 2003
+++ uxucs.c Fri Feb 13 15:27:13 2004
@@ -12,6 +12,16 @@
#include "terminal.h"
#include "misc.h"
+#ifdef FREEBSD_MB_SUPPORT
+size_t mbrtowc __P((wchar_t * __restrict, const char * __restrict, size_t,
+ mbstate_t * __restrict));
+size_t wcrtomb __P((char * __restrict, wchar_t, mbstate_t * __restrict));
+
+#include "mbrtowc.c"
+#include "wcrtomb.c"
+
+#endif
+
/*
* Unix Unicode-handling routines.
*/