freebsd-ports/emulators/vice/files/patch-x11video.c
Dirk Meyer f315fcfa8d - add missing dependecies
- support libgif
- add option VICE_WITH_ASOUND
- use sdlsound as default
PR:		151207
2011-01-04 06:17:09 +00:00

12 lines
461 B
C

--- src/arch/unix/x11/xaw/x11video.c.orig 2009-10-21 18:46:45.000000000 +0200
+++ src/arch/unix/x11/xaw/x11video.c 2010-08-03 06:00:50.000000000 +0200
@@ -342,6 +342,9 @@
int mitshm_failed = 0; /* will be set to true if XShmAttach() failed */
int shmmajor; /* major number of MITSHM error codes */
+#include <X11/X.h>
+#include <X11/extensions/shmproto.h>
+
/* Catch XShmAttach()-failure. */
int shmhandler(Display *display, XErrorEvent *err)
{