X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetpass.c;h=5b39b6d8132836c8010b9505d57a8ded0e8e3a46;hb=3667f8e75409ce7df7bc3f561ddd8d03d5be39f2;hp=70851b3e1a579afc436907363949f51e32bb6a12;hpb=0632e115747ff96e93330c88f536d7354a7ce507;p=gnulib.git diff --git a/lib/getpass.c b/lib/getpass.c index 70851b3e1..5b39b6d81 100644 --- a/lib/getpass.c +++ b/lib/getpass.c @@ -29,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