--- setlocale.h.orig 2009-11-09 15:05:25.000000000 -0800 +++ setlocale.h 2009-11-09 15:05:26.000000000 -0800 @@ -29,12 +29,14 @@ #ifndef _SETLOCALE_H_ #define _SETLOCALE_H_ +#include <xlocale.h> + #define ENCODING_LEN 31 #define CATEGORY_LEN 11 extern char *_PathLocale; int __detect_path_locale(void); -int __wrap_setrunelocale(const char *); +int __wrap_setrunelocale(const char *, locale_t); #endif /* !_SETLOCALE_H_ */