Fix port to Debian GNU/kFreeBSD 7 (wheezy).

* process.c (accept4) [!HAVE_ACCEPT4]: New macro.

Fixes: debbugs:18666
This commit is contained in:
Paul Eggert 2014-10-10 11:02:09 -07:00
parent 4b9d951ee1
commit 390c2f3bcc
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2014-10-10 Paul Eggert <eggert@cs.ucla.edu>
Fix port to Debian GNU/kFreeBSD 7 (wheezy) (Bug#18666).
* process.c (accept4) [!HAVE_ACCEPT4]: New macro.
2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
* frame.c (Fmouse_pixel_position): Call Vmouse_position_function

View file

@ -173,6 +173,9 @@ close_on_exec (int fd)
return fd;
}
# undef accept4
# define accept4(sockfd, addr, addrlen, flags) \
process_accept4 (sockfd, addr, addrlen, flags)
static int
accept4 (int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
{