aboutsummaryrefslogtreecommitdiff
path: root/converters/libiconv
diff options
context:
space:
mode:
Diffstat (limited to 'converters/libiconv')
-rw-r--r--converters/libiconv/files/patch-lib::loop_wchar.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/converters/libiconv/files/patch-lib::loop_wchar.h b/converters/libiconv/files/patch-lib::loop_wchar.h
new file mode 100644
index 000000000000..33bfd80b6e88
--- /dev/null
+++ b/converters/libiconv/files/patch-lib::loop_wchar.h
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- lib/loop_wchar.h 2001/05/29 09:13:16 1.1
++++ lib/loop_wchar.h 2001/05/29 09:14:16
+@@ -32,7 +32,7 @@
+ #define mbsinit(ps) 1
+ #endif
+ #else
+-#ifndef mbstate_t
++#if !defined(mbstate_t) && !defined(__FreeBSD__)
+ typedef int mbstate_t;
+ #endif
+ #endif