utimens: cache whether utimensat syscall works
[pspp] / lib / sys_socket.in.h
index c4df33f39928e9ae31e2d140ae327e456e859ca0..e3f6d6c6ebd85c61a16f2efb4aa36eb9e46f5130 100644 (file)
@@ -428,15 +428,16 @@ extern "C" {
 #endif
 
 #if @GNULIB_ACCEPT4@
-# if !@HAVE_ACCEPT4@
 /* Accept a connection on a socket, with specific opening flags.
    The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
    and O_TEXT, O_BINARY (defined in "binary-io.h").
    See also the Linux man page at
    <http://www.kernel.org/doc/man-pages/online/pages/man2/accept4.2.html>.  */
+# if @HAVE_ACCEPT4@
+#  define accept4 rpl_accept4
+# endif
 extern int accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen,
                    int flags);
-# endif
 #elif defined GNULIB_POSIXCHECK
 # undef accept4
 # define accept4(s,a,l,f) \