Simon Josefsson wrote: > Done! Karl noticed that this now causes a divergence with libintl's sources. Better avoid it, like this:
2007-03-29 Bruno Haible <[EMAIL PROTECTED]> * lib/vasprintf.c [IN_LIBINTL]: Include different specification file. * lib/asprintf.c [IN_LIBINTL]: Likewise. --- lib/vasprintf.c 27 Mar 2007 20:18:17 -0000 1.9 +++ lib/vasprintf.c 29 Mar 2007 19:56:28 -0000 @@ -18,7 +18,11 @@ #include <config.h> /* Specification. */ -#include <stdio.h> +#ifdef IN_LIBINTL +# include "vasprintf.h" +#else +# include <stdio.h> +#endif #include <errno.h> #include <limits.h> --- lib/asprintf.c 27 Mar 2007 20:18:17 -0000 1.5 +++ lib/asprintf.c 29 Mar 2007 19:56:28 -0000 @@ -18,7 +18,11 @@ #include <config.h> /* Specification. */ -#include <stdio.h> +#ifdef IN_LIBINTL +# include "vasprintf.h" +#else +# include <stdio.h> +#endif #include <stdarg.h>