aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/sys_socket.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/sys_socket.in.h')
-rw-r--r--gnulib/import/sys_socket.in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnulib/import/sys_socket.in.h b/gnulib/import/sys_socket.in.h
index 88ac5f0..2777007 100644
--- a/gnulib/import/sys_socket.in.h
+++ b/gnulib/import/sys_socket.in.h
@@ -1,6 +1,6 @@
/* Provide a sys/socket header file for systems lacking it (read: MinGW)
and for systems where it is incomplete.
- Copyright (C) 2005-2020 Free Software Foundation, Inc.
+ Copyright (C) 2005-2021 Free Software Foundation, Inc.
Written by Simon Josefsson.
This program is free software; you can redistribute it and/or modify
@@ -256,7 +256,7 @@ rpl_fd_isset (SOCKET fd, fd_set * set)
# 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