From: Bruno Haible Date: Thu, 29 Mar 2007 22:21:32 +0000 (+0000) Subject: Take care of IN_LIBINTL situation. X-Git-Tag: cvs-readonly~637 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=325d9130478fc8498023c01a059032e2f65996de;p=gnulib.git Take care of IN_LIBINTL situation. --- diff --git a/ChangeLog b/ChangeLog index 55c644050..27d841efd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-03-29 Bruno Haible + + * lib/vasprintf.c [IN_LIBINTL]: Include different specification file. + * lib/asprintf.c [IN_LIBINTL]: Likewise. + 2007-03-29 Paul Eggert * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Don't bother to diff --git a/lib/asprintf.c b/lib/asprintf.c index 78849549d..a63522d8b 100644 --- a/lib/asprintf.c +++ b/lib/asprintf.c @@ -18,7 +18,11 @@ #include /* Specification. */ -#include +#ifdef IN_LIBINTL +# include "vasprintf.h" +#else +# include +#endif #include diff --git a/lib/vasprintf.c b/lib/vasprintf.c index 885d1e563..3adcae711 100644 --- a/lib/vasprintf.c +++ b/lib/vasprintf.c @@ -18,7 +18,11 @@ #include /* Specification. */ -#include +#ifdef IN_LIBINTL +# include "vasprintf.h" +#else +# include +#endif #include #include