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 0c7d2bc69d..bd0b13c847 100644
--- a/error.c
+++ b/error.c
@@ -645,7 +645,7 @@ void
rb_sys_fail(mesg)
const char *mesg;
{
-#if !defined(NT) && !defined(__VMS)
+#if !defined(NT) && !defined(__VMS) && !defined(_WIN32_WCE)
char *strerror();
#endif
char *err;