summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libw32dll/wine/win32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libw32dll/wine/win32.c b/src/libw32dll/wine/win32.c
index a6a5f7e17..144c1ade8 100644
--- a/src/libw32dll/wine/win32.c
+++ b/src/libw32dll/wine/win32.c
@@ -48,7 +48,13 @@ for DLL to know too much about its environment.
#endif
#if HAVE_VSSCANF
+# ifndef __sun
+/*
+ * On solaris, remove the prototype for now; it's incompatible with the one
+ * from solaris9 stdio.h
+ */
int vsscanf( const char *str, const char *format, va_list ap);
+# endif
#else
/* system has no vsscanf. try to provide one */
static int vsscanf( const char *str, const char *format, va_list ap)