mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-16 18:46:54 +00:00
BUILD/MINOR: syscall: add definition of NR_accept4 for ARM
This platform was not covered and older libc do not provide accept4().
This commit is contained in:
parent
b26cc86b1c
commit
4f4b18b2ec
@ -132,6 +132,8 @@
|
|||||||
#define __NR_accept4 288
|
#define __NR_accept4 288
|
||||||
#elif defined(__sparc__) || defined(__sparc64__)
|
#elif defined(__sparc__) || defined(__sparc64__)
|
||||||
#define __NR_accept4 323
|
#define __NR_accept4 323
|
||||||
|
#elif defined(__arm__) || defined(__thumb__)
|
||||||
|
#define __NR_accept4 (__NR_SYSCALL_BASE+366)
|
||||||
#else
|
#else
|
||||||
#define ACCEPT4_USE_SOCKETCALL 1
|
#define ACCEPT4_USE_SOCKETCALL 1
|
||||||
#ifndef SYS_ACCEPT4
|
#ifndef SYS_ACCEPT4
|
||||||
|
Loading…
Reference in New Issue
Block a user