Tweak to make it usable in gettext's libasprintf.
[gnulib.git] / lib / printf-parse.c
index 2e67980..9e9880c 100644 (file)
@@ -49,7 +49,7 @@
 #include <stddef.h>
 
 /* Get intmax_t.  */
-#ifdef IN_LIBINTL
+#if defined IN_LIBINTL || defined IN_LIBASPRINTF
 # if HAVE_STDINT_H_WITH_UINTMAX
 #  include <stdint.h>
 # endif