From: Bruno Haible Date: Sun, 21 Oct 2007 20:37:10 +0000 (+0200) Subject: Tweak to make it usable in gettext's libasprintf. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88b7d3496cf164567019401d2c87f3d8933bdb8a;p=pspp Tweak to make it usable in gettext's libasprintf. --- diff --git a/ChangeLog b/ChangeLog index 3dbaf13d44..37217c9561 100644 --- 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 index 2e67980977..9e9880c055 100644 --- 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