summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index e52f2e91c7..ecec654a33 100644
--- a/error.c
+++ b/error.c
@@ -718,7 +718,7 @@ void
rb_sys_fail(mesg)
const char *mesg;
{
-#ifndef NT
+#if !defined(NT) && !defined(__VMS)
char *strerror();
#endif
char *err;