X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetpass.c;h=5b39b6d8132836c8010b9505d57a8ded0e8e3a46;hb=a7cc0db9f5f6c63936c6914d4bb6448789774e5f;hp=4e3339659d1bcd303ee2671623eba695f8aa1b45;hpb=0a2c2d3bdc0d6661e52559c775ac3165f1bcee5e;p=gnulib.git diff --git a/lib/getpass.c b/lib/getpass.c index 4e3339659..5b39b6d81 100644 --- a/lib/getpass.c +++ b/lib/getpass.c @@ -1,4 +1,6 @@ -/* Copyright (C) 1992-2001, 2003, 2004, 2005 Free Software Foundation, Inc. +/* Copyright (C) 1992-2001, 2003, 2004, 2005, 2006 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,7 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H +#ifndef _LIBC # include #endif @@ -27,10 +29,11 @@ #include -#if HAVE_STDIO_EXT_H -# include -#endif -#if !HAVE___FSETLOCKING +#if HAVE_DECL___FSETLOCKING && HAVE___FSETLOCKING +# if HAVE_STDIO_EXT_H +# include +# endif +#else # define __fsetlocking(stream, type) /* empty */ #endif