File DirectFB-1.2.9-headers.patch of Package DirectFB

Index: systems/fbdev/fbdev.c
===================================================================
--- systems/fbdev/fbdev.c.orig	2009-11-24 14:54:14.099489693 +0100
+++ systems/fbdev/fbdev.c	2009-11-24 14:54:27.374488970 +0100
@@ -43,6 +43,7 @@
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <sys/kd.h>
+#undef _LINUX_TYPES_H
 
 #include <pthread.h>
 
Index: systems/fbdev/vt.c
===================================================================
--- systems/fbdev/vt.c.orig	2009-11-24 14:54:14.099489693 +0100
+++ systems/fbdev/vt.c	2009-11-24 14:54:27.375488725 +0100
@@ -43,6 +43,7 @@
 #include <sys/kd.h>
 #include <errno.h>
 #include <pthread.h>
+#undef _LINUX_TYPES_H
 
 #include <directfb.h>
 
openSUSE Build Service is sponsored by