summaryrefslogtreecommitdiff
path: root/lib/error.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-05-09 12:16:00 +0200
committerBruno Haible <bruno@clisp.org>2010-05-09 12:17:34 +0200
commit047f9441339dd01ca47c4a6e6e37ed08fff36dbf (patch)
treedaa1469135abe63de7122103e39218291e3933be /lib/error.c
parent212eef100b6b884c59fc512363b1234118fbc1e1 (diff)
downloadgnulib-047f9441339dd01ca47c4a6e6e37ed08fff36dbf.tar.gz
error: Use system's fcntl function.
Diffstat (limited to 'lib/error.c')
-rw-r--r--lib/error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/error.c b/lib/error.c
index 84193a9a6e..ed9dba0d27 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 <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"