<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- ../vnc_unixsrc/vncconnect/vncconnect.c	2000-11-10 10:20:07.000000000 +0000
+++ vncconnect/vncconnect.c	2007-05-15 13:09:59.000000000 +0000
@@ -2,6 +2,12 @@
  * vncconnect.c
  */
 
+/* On Darwin, exit() is prototyped in &lt;stdlib.h&gt; and strlen() in &lt;string.h&gt; */
+#if defined(__DARWIN__) || defined(__APPLE__)
+#include &lt;string.h&gt;
+#include &lt;stdlib.h&gt;
+#endif /* __DARWIN__ || __APPLE__ */
+
 #include &lt;stdio.h&gt;
 #include &lt;X11/Xlib.h&gt;
 #include &lt;X11/Xatom.h&gt;
</pre></body></html>