$NetBSD: patch-ad,v 1.14 2005/01/11 11:09:27 adam Exp $

--- src/af/util/xp/ut_iconv.h.orig	2003-11-19 02:38:27.000000000 +0000
+++ src/af/util/xp/ut_iconv.h
@@ -32,8 +32,14 @@
 
 typedef void * UT_iconv_t;
 
+#if defined(__NetBSD__) && __NetBSD_Version__ >= 200000000
+struct __tag_iconv_t { }; /* XXX: for catch/throw (ISO C++ 15.1)*/
+#endif
+
 #define UT_ICONV_INVALID ((UT_iconv_t)(-1))
 
+#include <sys/param.h>
+
 #ifdef __cplusplus
 
 #include "ut_exception.h"
