fcntl: Avoid compilation error on native Windows.
authorBruno Haible <bruno@clisp.org>
Sat, 28 Jan 2012 12:15:36 +0000 (13:15 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 28 Jan 2012 12:15:36 +0000 (13:15 +0100)
* modules/fcntl (Depends-on): Add 'close'.

ChangeLog
modules/fcntl

index c49da7f..ea0fc3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-28  Bruno Haible  <bruno@clisp.org>
+
+       fcntl: Avoid compilation error on native Windows.
+       * modules/fcntl (Depends-on): Add 'close'.
+
 2012-01-28  Marc-AndrĂ© Lureau  <marcandre.lureau@redhat.com>  (tiny change)
 
        select, poll, isatty: Avoid warnings on x86_64 mingw64.
index ab7c8ad..dc891e7 100644 (file)
@@ -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]