=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/inttypes.h,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/include/inttypes.h 2006/01/15 00:47:51 1.9 --- src/include/inttypes.h 2009/01/13 18:13:51 1.10 *************** *** 1,4 **** ! /* $OpenBSD: inttypes.h,v 1.9 2006/01/15 00:47:51 millert Exp $ */ /* * Copyright (c) 1997, 2005 Todd C. Miller --- 1,4 ---- ! /* $OpenBSD: inttypes.h,v 1.10 2009/01/13 18:13:51 kettenis Exp $ */ /* * Copyright (c) 1997, 2005 Todd C. Miller *************** *** 21,26 **** --- 21,30 ---- #include + #ifdef __cplusplus + #define __wchar_t wchar_t + #endif + #if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) /* * 7.8.1 Macros for format specifiers *************** *** 252,257 **** --- 256,265 ---- imaxdiv_t imaxdiv(intmax_t, intmax_t); intmax_t strtoimax(const char *, char **, int); uintmax_t strtoumax(const char *, char **, int); + intmax_t wcstoimax(const __wchar_t * __restrict, + __wchar_t ** __restrict, int); + uintmax_t wcstoumax(const __wchar_t * __restrict, + __wchar_t ** __restrict, int); __END_DECLS #endif /* _INTTYPES_H_ */