updated for version 7.0120
diff --git a/src/proto.h b/src/proto.h
index 7541ce3..4c0db37 100644
--- a/src/proto.h
+++ b/src/proto.h
@@ -120,7 +120,9 @@
 _RTLENTRYF
 #  endif
 vim_snprintf __ARGS((char *, size_t, char *, ...));
+#  if defined(HAVE_STDARG_H)
 int vim_vsnprintf(char *str, size_t str_m, char *fmt, va_list ap, typval_T *tvs);
+#  endif
 # endif
 
 # include "message.pro"