Fix build under Windows
diff --git a/Include/codecs.h b/Include/codecs.h
index c503f5c..0d9e9b4 100644
--- a/Include/codecs.h
+++ b/Include/codecs.h
@@ -174,7 +174,7 @@
 /* replace the unicode encode error with backslash escapes (\x, \u and \U) */
 PyAPI_FUNC(PyObject *) PyCodec_BackslashReplaceErrors(PyObject *exc);
 
-extern const char *Py_hexdigits;
+PyAPI_DATA(const char *) Py_hexdigits;
 
 #ifdef __cplusplus
 }