--- kkconsui/include/conscommon.h.orig	2009-02-22 08:41:47.000000000 -0700
+++ kkconsui/include/conscommon.h	2009-03-08 21:49:42.000000000 -0600
@@ -34,7 +34,7 @@
 #endif
 
 /* Prototypes to compile on some systems */
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__APPLE__)
 extern "C"
 {
 extern int mvinnwstr (int, int, wchar_t *, int);
