# HG changeset patch # User Bruno Haible # Date 1192999030 -7200 # Node ID e5e1a09aa484af103631e877cb7ce44c6ca72029 # Parent 8234757e613a2faf44bdaa3c7e73c74c8ebf3aff Tweak to make it usable in gettext's libasprintf. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-21 Bruno Haible + + * lib/printf-parse.c: Don't assume exists in IN_LIBASPRINTF + context. + 2007-10-21 Bruno Haible * tests/test-wcwidth.c (main): Allow negative result for some control diff --git a/lib/printf-parse.c b/lib/printf-parse.c --- a/lib/printf-parse.c +++ b/lib/printf-parse.c @@ -49,7 +49,7 @@ #include /* Get intmax_t. */ -#ifdef IN_LIBINTL +#if defined IN_LIBINTL || defined IN_LIBASPRINTF # if HAVE_STDINT_H_WITH_UINTMAX # include # endif