Mercurial > hg > octave-kai > gnulib-hg
changeset 8108:e22e004d89dd
* lib/getsubopt.c [!_LIBC]: Include config.h and getsubopt.h.
* lib/memmem.c [!defined _LIBC]: Include config.h.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 05 Feb 2007 05:44:11 +0000 |
parents | 412732860e52 |
children | 38b4f50a2b13 |
files | ChangeLog lib/getsubopt.c lib/memmem.c |
diffstat | 3 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- a/lib/getsubopt.c +++ b/lib/getsubopt.c @@ -17,6 +17,11 @@ 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>
--- a/lib/memmem.c +++ b/lib/memmem.c @@ -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 @@ -15,6 +15,10 @@ 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>