Index: PC/pyconfig.h =================================================================== --- PC/pyconfig.h (revision 68445) +++ PC/pyconfig.h (working copy) @@ -88,6 +88,12 @@ #define USE_SOCKET #endif +/* CE6 doesn't have strdup() but _strdup(). Assume the same for earlier versions. */ +#if defined(MS_WINCE) +# include +# define strdup _strdup +#endif + #ifdef MS_WINCE /* Python uses GetVersion() to distinguish between * Windows NT and 9x/ME where OS Unicode support is concerned.