$OpenBSD: patch-abi_src_af_util_xp_ut_string_class_cpp,v 1.1 2004/01/10 22:51:14 couderc Exp $
--- abi/src/af/util/xp/ut_string_class.cpp.orig	2003-09-03 08:23:25.000000000 -0700
+++ abi/src/af/util/xp/ut_string_class.cpp	2003-09-03 08:24:22.000000000 -0700
@@ -28,6 +28,7 @@
 #include <locale.h>
 #include <ctype.h>
 #include <stdarg.h>
+#include <glib.h>
 
 #include "ut_string.h"
 #include "ut_string_class.h"
@@ -340,6 +341,8 @@ UT_printf_string_upper_bound (const char
   return len;
 }
 
+#define VA_COPY G_VA_COPY
+
 #if !defined (VA_COPY)
 #  if defined (__GNUC__) && defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32) || defined(WIN32)) || defined(__s390__) || defined(__x86_64__)
 #  define VA_COPY(ap1, ap2)	  (*(ap1) = *(ap2))
