summaryrefslogtreecommitdiffstats
path: root/lib/libz/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libz/zutil.h')
-rw-r--r--lib/libz/zutil.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libz/zutil.h b/lib/libz/zutil.h
index 60e5d2b..7b42edca 100644
--- a/lib/libz/zutil.h
+++ b/lib/libz/zutil.h
@@ -8,7 +8,7 @@
subject to change. Applications should only use zlib.h.
*/
-/* @(#) $FreeBSD$ */
+/* @(#) $Id$ */
#ifndef ZUTIL_H
#define ZUTIL_H
@@ -189,9 +189,14 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
# define NO_vsnprintf
# endif
#endif
+#ifdef VMS
+# define NO_vsnprintf
+#endif
#ifdef HAVE_STRERROR
- extern char *strerror OF((int));
+# ifndef VMS
+ extern char *strerror OF((int));
+# endif
# define zstrerror(errnum) strerror(errnum)
#else
# define zstrerror(errnum) ""
OpenPOWER on IntegriCloud