summaryrefslogtreecommitdiff
path: root/editors/abiword/patches/patch-ad
blob: cb8ea2afdead7c9a8a58ffd919d9fb124b2935f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$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"