Take care of IN_LIBINTL situation.
authorBruno Haible <bruno@clisp.org>
Thu, 29 Mar 2007 22:21:32 +0000 (22:21 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 29 Mar 2007 22:21:32 +0000 (22:21 +0000)
ChangeLog
lib/asprintf.c
lib/vasprintf.c

index 55c6440..27d841e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-29  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasprintf.c [IN_LIBINTL]: Include different specification file.
+       * lib/asprintf.c [IN_LIBINTL]: Likewise.
+
 2007-03-29  Paul Eggert  <eggert@cs.ucla.edu>
 
        * m4/getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Don't bother to
index 7884954..a63522d 100644 (file)
 #include <config.h>
 
 /* Specification.  */
-#include <stdio.h>
+#ifdef IN_LIBINTL
+# include "vasprintf.h"
+#else
+# include <stdio.h>
+#endif
 
 #include <stdarg.h>
 
index 885d1e5..3adcae7 100644 (file)
 #include <config.h>
 
 /* Specification.  */
-#include <stdio.h>
+#ifdef IN_LIBINTL
+# include "vasprintf.h"
+#else
+# include <stdio.h>
+#endif
 
 #include <errno.h>
 #include <limits.h>