| @@ -1,16 +1,26 @@ | | | @@ -1,16 +1,26 @@ |
1 | $NetBSD: patch-af,v 1.6 2006/06/29 22:56:34 dillo Exp $ | | 1 | $NetBSD: patch-af,v 1.7 2010/06/05 12:29:53 wiz Exp $ |
2 | | | 2 | |
3 | --- src/arch/unix/x11/video.c.orig 2006-01-02 01:04:55.000000000 +0100 | | 3 | --- src/arch/unix/x11/video.c.orig 2007-08-04 13:24:43.000000000 +0000 |
4 | +++ src/arch/unix/x11/video.c | | 4 | +++ src/arch/unix/x11/video.c |
5 | @@ -210,11 +210,7 @@ int video_init_cmdline_options(void) | | 5 | @@ -56,6 +56,9 @@ |
| | | 6 | #include <X11/Xutil.h> |
| | | 7 | #include <X11/Intrinsic.h> |
| | | 8 | #include <X11/cursorfont.h> |
| | | 9 | +#include <X11/extensions/Xxf86dga.h> |
| | | 10 | +#include <X11/Xmd.h> |
| | | 11 | +#include <X11/extensions/shmproto.h> |
| | | 12 | |
| | | 13 | #include <stdio.h> |
| | | 14 | #include <stdlib.h> |
| | | 15 | @@ -221,11 +224,7 @@ int video_init_cmdline_options(void) |
6 | | | 16 | |
7 | /* ------------------------------------------------------------------------- */ | | 17 | /* ------------------------------------------------------------------------- */ |
8 | | | 18 | |
9 | -#if !defined(__NETBSD__) | | 19 | -#if !defined(__NETBSD__) |
10 | static GC _video_gc; | | 20 | static GC _video_gc; |
11 | -#else | | 21 | -#else |
12 | -GC _video_gc; | | 22 | -GC _video_gc; |
13 | -#endif | | 23 | -#endif |
14 | static void (*_refresh_func)(); | | 24 | static void (*_refresh_func)(); |
15 | | | 25 | |
16 | /* This is set to 1 if the Shared Memory Extensions can actually be used. */ | | 26 | /* This is set to 1 if the Shared Memory Extensions can actually be used. */ |