diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-10-10 11:02:09 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-10-10 11:02:09 -0700 |
commit | 390c2f3bcc494fa07752f59b42605afc9971111c (patch) | |
tree | e55c44118a10b65bc1b98d7929972ae955c975e3 | |
parent | 4b9d951ee1abd65dd6335300e764d0d8a368871f (diff) | |
download | emacs-390c2f3bcc494fa07752f59b42605afc9971111c.tar.gz |
Fix port to Debian GNU/kFreeBSD 7 (wheezy).
* process.c (accept4) [!HAVE_ACCEPT4]: New macro.
Fixes: debbugs:18666
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/process.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 63e0e728fee..19c553ff7a1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 diff --git a/src/process.c b/src/process.c index 2c66b9e976e..178fba8887e 100644 --- a/src/process.c +++ b/src/process.c @@ -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) { |