$NetBSD: patch-af,v 1.7 2010/06/05 12:29:53 wiz Exp $

--- src/arch/unix/x11/video.c.orig	2007-08-04 13:24:43.000000000 +0000
+++ src/arch/unix/x11/video.c
@@ -56,6 +56,9 @@
 #include <X11/Xutil.h>
 #include <X11/Intrinsic.h>
 #include <X11/cursorfont.h>
+#include <X11/extensions/Xxf86dga.h>
+#include <X11/Xmd.h>
+#include <X11/extensions/shmproto.h>
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -221,11 +224,7 @@ int video_init_cmdline_options(void)
 
 /* ------------------------------------------------------------------------- */
 
-#if !defined(__NETBSD__)
 static GC _video_gc;
-#else
-GC _video_gc;
-#endif
 static void (*_refresh_func)();
 
 /* This is set to 1 if the Shared Memory Extensions can actually be used. */
