From: Bruno Haible Date: Sat, 28 Jan 2012 12:15:36 +0000 (+0100) Subject: fcntl: Avoid compilation error on native Windows. X-Git-Tag: v0.1~1201 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=5cddd1726a6c11d6a7064892e4b403ed92b794d6;p=gnulib.git fcntl: Avoid compilation error on native Windows. * modules/fcntl (Depends-on): Add 'close'. --- diff --git a/ChangeLog b/ChangeLog index c49da7fbc..ea0fc3deb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-01-28 Bruno Haible + + fcntl: Avoid compilation error on native Windows. + * modules/fcntl (Depends-on): Add 'close'. + 2012-01-28 Marc-André Lureau (tiny change) select, poll, isatty: Avoid warnings on x86_64 mingw64. diff --git a/modules/fcntl b/modules/fcntl index ab7c8ad6b..dc891e759 100644 --- a/modules/fcntl +++ b/modules/fcntl @@ -8,6 +8,7 @@ lib/fcntl.c Depends-on: fcntl-h extensions +close [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1] dup2 [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1] getdtablesize [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1] msvc-nothrow [test $HAVE_FCNTL = 0 || test $REPLACE_FCNTL = 1]