diff options
author | Eric Blake <eblake@redhat.com> | 2019-08-20 11:26:17 -0500 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2019-08-20 11:26:17 -0500 |
commit | 463685ee660efe468fd7e449d315608ae84f818f (patch) | |
tree | 64fddaecc29f416a8f436c5296ac8c3152e66ddc /lib | |
parent | 1f6fb368c04919243e2c70f2aa514a5f88e95309 (diff) | |
download | gnulib-463685ee660efe468fd7e449d315608ae84f818f.tar.gz |
accept4: Fix compilation when native accept4() exists.
Reported by Richard W.M. Jones <rjones@redhat.com> in
https://lists.gnu.org/archive/html/bug-gnulib/2019-08/msg00029.html
* lib/accept4.c (accept4): Match witness symbol to m4 file update.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/accept4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/accept4.c b/lib/accept4.c index 4436bdc27c..c6e59c955f 100644 --- a/lib/accept4.c +++ b/lib/accept4.c @@ -37,7 +37,7 @@ accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags) { int fd; -#if HAVE_ACCEPT4 +#if HAVE_DECL_ACCEPT4 # undef accept4 /* Try the system call first, if it exists. (We may be running with a glibc that has the function but with an older kernel that lacks it.) */ |