diff options
Diffstat (limited to 'lib/sys_time.in.h')
-rw-r--r-- | lib/sys_time.in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sys_time.in.h b/lib/sys_time.in.h index f2de87740b1..90a67d18426 100644 --- a/lib/sys_time.in.h +++ b/lib/sys_time.in.h @@ -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 |