+2003-04-05 Bruno Haible <bruno@clisp.org>
+
+ * relocatable.c (_GNU_SOURCE): Define, to ensure getline() gets
+ declared by <stdio.h>.
+
2003-04-04 Bruno Haible <bruno@clisp.org>
* gettextP.h [!_LIBC]: Remove declarations of exported libintl_*
USA. */
+/* Tell glibc's <stdio.h> to provide a prototype for getline().
+ This must come before <config.h> because <config.h> may include
+ <features.h>, and once <features.h> has been included, it's too late. */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+2003-04-05 Bruno Haible <bruno@clisp.org>
+
+ * relocatable.c (_GNU_SOURCE): Define, to ensure getline() gets
+ declared by <stdio.h>.
+
2003-03-30 Bruno Haible <bruno@clisp.org>
* xgetcwd.c: Include <unistd.h>.
USA. */
+/* Tell glibc's <stdio.h> to provide a prototype for getline().
+ This must come before <config.h> because <config.h> may include
+ <features.h>, and once <features.h> has been included, it's too late. */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif