From 047f9441339dd01ca47c4a6e6e37ed08fff36dbf Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 9 May 2010 12:16:00 +0200 Subject: [PATCH] error: Use system's fcntl function. --- ChangeLog | 5 +++++ lib/error.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index ca5dc3678..865b1b82d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-05-09 Bruno Haible + + error: Use system's fcntl function. + * lib/error.c (fcntl): Undefine. + 2010-05-09 Jim Meyering verify: adjust formatting to be more consistent diff --git a/lib/error.c b/lib/error.c index 84193a9a6..ed9dba0d2 100644 --- a/lib/error.c +++ b/lib/error.c @@ -94,6 +94,9 @@ extern void __error_at_line (int status, int errnum, const char *file_name, # include # 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" -- 2.11.0