commit | a43190bc789bebfef15fb2b82f94a19a6bc80000 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Mon May 22 09:15:18 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Mon May 22 09:15:18 2006 +0000 |
tree | f0420e334066fe66b8c03a4931f5a2ddcb238342 | |
parent | f90347fdbb9a30468c41b52dd61151880247b4c7 [diff] [blame] |
Patch #1492356: Port to Windows CE (patch set 1).
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index e3d1e7f..58beb5c 100644 --- a/Modules/_localemodule.c +++ b/Modules/_localemodule.c
@@ -12,11 +12,14 @@ #include "Python.h" #include <stdio.h> -#include <errno.h> #include <locale.h> #include <string.h> #include <ctype.h> +#ifndef DONT_HAVE_ERRNO_H +#include <errno.h> +#endif + #ifdef HAVE_LANGINFO_H #include <langinfo.h> #endif