summaryrefslogtreecommitdiffstats
path: root/Modules/_localemodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_localemodule.c')
-rw-r--r--Modules/_localemodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c
index 80bfbb2..53ae678 100644
--- a/Modules/_localemodule.c
+++ b/Modules/_localemodule.c
@@ -26,6 +26,10 @@ This software comes with no warranty. Use at your own risk.
#include "macglue.h"
#endif
+#ifdef RISCOS
+char *strdup(const char *);
+#endif
+
static char locale__doc__[] = "Support for POSIX locales.";
static PyObject *Error;