File hanterm-xf-includes.patch of Package hanterm-xf

Index: hanterm-xf-2.0.5-173/button.c
===================================================================
--- hanterm-xf-2.0.5-173.orig/button.c	2002-10-07 01:23:47.000000000 +0200
+++ hanterm-xf-2.0.5-173/button.c	2010-11-08 16:29:26.898842064 +0100
@@ -63,6 +63,7 @@ button.c	Handles button events in the te
 
 #include <stdio.h>
 
+#include <X11/Xlib.h>
 #include <X11/Xatom.h>
 #include <X11/Xmu/Atoms.h>
 #include <X11/Xmu/StdSel.h>
Index: hanterm-xf-2.0.5-173/xutf8.h
===================================================================
--- hanterm-xf-2.0.5-173.orig/xutf8.h	2001-06-19 02:49:43.000000000 +0200
+++ hanterm-xf-2.0.5-173/xutf8.h	2010-11-08 16:32:30.212843036 +0100
@@ -21,10 +21,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWAR
 THE SOFTWARE.
 */
 
-#ifndef _XLIB_H_
-#error Please include <X11/Xlib.h> before "xutf8.h"
-#endif
-
 #ifndef X_HAVE_UTF8_STRING
 
 #undef XA_UTF8_STRING
openSUSE Build Service is sponsored by