error: Use system's fcntl function.
authorBruno Haible <bruno@clisp.org>
Sun, 9 May 2010 10:16:00 +0000 (12:16 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 May 2010 10:17:34 +0000 (12:17 +0200)
ChangeLog
lib/error.c

index ca5dc36..865b1b8 100644 (file)
--- 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
index 84193a9..ed9dba0 100644 (file)
@@ -94,6 +94,9 @@ extern void __error_at_line (int status, int errnum, const char *file_name,
 #  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"