aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/sys_time.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/sys_time.in.h')
-rw-r--r--gnulib/import/sys_time.in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnulib/import/sys_time.in.h b/gnulib/import/sys_time.in.h
index d30b267..90a67d1 100644
--- a/gnulib/import/sys_time.in.h
+++ b/gnulib/import/sys_time.in.h
@@ -1,6 +1,6 @@
/* Provide a more complete sys/time.h.
- Copyright (C) 2007-2020 Free Software Foundation, Inc.
+ Copyright (C) 2007-2021 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -135,7 +135,7 @@ _GL_WARN_ON_USE (gettimeofday, "gettimeofday is unportable - "
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# undef close
# define close close_used_without_including_unistd_h
-# else
+# elif !defined __clang__
_GL_WARN_ON_USE (close,
"close() used without including <unistd.h>");
# endif