summaryrefslogtreecommitdiff
path: root/emulators/vmw/files/patch-vmshf.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/vmw/files/patch-vmshf.c')
-rw-r--r--emulators/vmw/files/patch-vmshf.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/vmw/files/patch-vmshf.c b/emulators/vmw/files/patch-vmshf.c
new file mode 100644
index 000000000000..02c81403f8e4
--- /dev/null
+++ b/emulators/vmw/files/patch-vmshf.c
@@ -0,0 +1,17 @@
+--- vmshf.c.orig 2006-05-10 04:36:12 UTC
++++ vmshf.c
+@@ -306,14 +306,7 @@ static uint32_t LocalToUtf8(char *dst, c
+ unix systems with iconv.h
+ -- use iconv() for code conversion
+ */
+-#ifdef __FreeBSD__
+-#include <sys/types.h>
+-#include <sys/iconv.h>
+-typedef size_t iconv_t;
+-#else /* __FreeBSD__ */
+ #include <iconv.h>
+-#endif /* __FreeBSD__ */
+-
+ #include <langinfo.h>
+ #include <locale.h>
+ #include <strings.h>