* lib/getsubopt.c [!_LIBC]: Include config.h and getsubopt.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 Feb 2007 05:44:11 +0000 (05:44 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 Feb 2007 05:44:11 +0000 (05:44 +0000)
* lib/memmem.c [!defined _LIBC]: Include config.h.

ChangeLog
lib/getsubopt.c
lib/memmem.c

index 31af0c7..25c94ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/getsubopt.c [!_LIBC]: Include config.h and getsubopt.h.
+       * lib/memmem.c [!defined _LIBC]: Include config.h.
+
 2007-02-04  Bruno Haible  <bruno@clisp.org>
 
        * lib/string_.h (GL_LINK_WARNING2): Put the word "warning:" into the
index 4e9f1b0..485a424 100644 (file)
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
+#if !_LIBC
+# include <config.h>
+# include "getsubopt.h"
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 
index b118977..e882222 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,94,96,97,98,2000,2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,96,97,98,2000,2004,2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    This program is free software; you can redistribute it and/or modify
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
+#ifndef _LIBC
+# include <config.h>
+#endif
+
 #include <stddef.h>
 #include <string.h>