changeset 13326:9a066ce4a8a5

error: Use system's fcntl function.
author Bruno Haible <bruno@clisp.org>
date Sun, 09 May 2010 12:16:00 +0200
parents 3ec28439ec92
children b0d072538a30
files ChangeLog lib/error.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-09  Bruno Haible  <bruno@clisp.org>
+
+	error: Use system's fcntl function.
+	* lib/error.c (fcntl): Undefine.
+
 2010-05-09  Jim Meyering  <meyering@redhat.com>
 
 	verify: adjust formatting to be more consistent
--- a/lib/error.c
+++ b/lib/error.c
@@ -94,6 +94,9 @@
 #  include <windows.h>
 # endif
 
+/* The gnulib override of fcntl is not needed in this file.  */
+# undef fcntl
+
 # if !HAVE_DECL_STRERROR_R && STRERROR_R_CHAR_P
 #  ifndef HAVE_DECL_STRERROR_R
 "this configure-time declaration test was not run"