$NetBSD: patch-ax,v 1.1.1.1 2007/06/14 19:42:12 bouyer Exp $

--- ioemu/vnc.c.orig	2006-10-19 22:23:35.000000000 +0200
+++ ioemu/vnc.c	2006-10-19 22:26:50.000000000 +0200
@@ -24,6 +24,9 @@
  * THE SOFTWARE.
  */
 
+#include <sys/stat.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 #include "vl.h"
 #include "qemu_socket.h"
 #include <assert.h>
