* 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 31af0c7a48f22deeded0cefb132ba256db1e63ab..25c94ae5249f65ce73f5b2903699727e9b14f127 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 4e9f1b08472a053ff434c40ef928c722ee44c655..485a4249275434f156f95b3c04f050066a08669d 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 b1189779ea3a9a6d0eff9ca0c9333eefb417cbf9..e8822221c7051ecd9fd4466fdb409089f45e36ef 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>