diff modules/fcntl @ 16325:67d40006deab

fcntl: Avoid compilation error on native Windows. * modules/fcntl (Depends-on): Add 'close'.
author Bruno Haible <bruno@clisp.org>
date Sat, 28 Jan 2012 13:15:36 +0100
parents b86e9061a6d0
children
line wrap: on
line diff
--- a/modules/fcntl
+++ b/modules/fcntl
@@ -8,6 +8,7 @@
 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]