X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=src%2Futf.h;h=d0ae6e931deb7d058260a5aff9786751f8bd8a18;hb=453e4c0aa2fbca95676fa966cc5602f5daf0a1f2;hp=95abdc9beaef24d9ac90f85cf7407972e1d8cec2;hpb=08dc8d9bafcb13bb1541894918f4a394e644e6e1;p=jansson.git diff --git a/src/utf.h b/src/utf.h index 95abdc9..d0ae6e9 100644 --- a/src/utf.h +++ b/src/utf.h @@ -8,6 +8,15 @@ #ifndef UTF_H #define UTF_H +#include + +#ifdef HAVE_INTTYPES_H +/* inttypes.h includes stdint.h in a standard environment, so there's +no need to include stdint.h separately. If inttypes.h doesn't define +int32_t, it's defined in config.h. */ +#include +#endif + int utf8_encode(int codepoint, char *buffer, int *size); int utf8_check_first(char byte);