$OpenBSD: patch-abi_src_af_util_xp_ut_string_class_cpp,v 1.4 2006/01/07 02:17:47 pvalchev Exp $
--- abi/src/af/util/xp/ut_string_class.cpp.orig	Thu Jan  5 12:40:22 2006
+++ abi/src/af/util/xp/ut_string_class.cpp	Thu Jan  5 12:41:53 2006
@@ -342,7 +342,9 @@ UT_printf_string_upper_bound (const char
   return len;
 }
 
-#if !defined (VA_COPY)
+#if !defined (VA_COPY) && defined(__OpenBSD__)
+#  define VA_COPY(ap1, ap2)	va_copy((ap1),(ap2))
+#elif !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))
 #  elif defined (VA_COPY_AS_ARRAY)
