summaryrefslogtreecommitdiffstats
path: root/Python/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/strerror.c')
-rw-r--r--Python/strerror.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/Python/strerror.c b/Python/strerror.c
index a78b917..0885ef1c 100644
--- a/Python/strerror.c
+++ b/Python/strerror.c
@@ -1,4 +1,4 @@
-/* PD implementation of strerror() for BSD derivatives that don't have it.
+/* PD implementation of strerror() for systems that don't have it.
Author: Guido van Rossum, CWI Amsterdam, Oct. 1990, <guido@cwi.nl>. */
#include <stdio.h>
@@ -16,3 +16,8 @@ strerror(err)
sprintf(buf, "Unknown errno %d", err);
return buf;
}
+
+#ifdef THINK_C
+int sys_nerr = 0;
+char *sys_errlist[1] = 0;
+#endif