add missing typedefs to

gettext-xglade-define-xml-major-version-285701.patch
This commit is contained in:
Nils Philippsen 2007-09-14 14:24:06 +00:00
parent a4b92ea56d
commit 4a37c3f149

View File

@ -24,3 +24,14 @@ diff -up gettext-0.16.1/gettext-tools/configure.ac.4-expat~ gettext-0.16.1/gette
;;
*)
AC_LIB_HAVE_LINKFLAGS([expat], [],
diff -up gettext-0.16.1/gettext-tools/src/x-glade.c.4-expat~ gettext-0.16.1/gettext-tools/src/x-glade.c
--- gettext-0.16.1/gettext-tools/src/x-glade.c.4-expat~ 2006-11-27 18:02:08.000000000 +0100
+++ gettext-0.16.1/gettext-tools/src/x-glade.c 2007-09-14 15:46:23.000000000 +0200
@@ -114,6 +114,7 @@ init_keywords ()
typedef void *XML_Parser;
typedef char XML_Char;
typedef char XML_LChar;
+typedef unsigned long XML_Size;
enum XML_Error { XML_ERROR_NONE };
typedef void (*XML_StartElementHandler) (void *userData, const XML_Char *name, const XML_Char **atts);
typedef void (*XML_EndElementHandler) (void *userData, const XML_Char *name);