changeset 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 a37e8d313ade
children 067aa8df247a
files ChangeLog modules/fcntl
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jan 28 12:39:43 2012 +0100
+++ b/ChangeLog	Sat Jan 28 13:15:36 2012 +0100
@@ -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.
--- a/modules/fcntl	Sat Jan 28 12:39:43 2012 +0100
+++ b/modules/fcntl	Sat Jan 28 13:15:36 2012 +0100
@@ -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]