mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 00:54:41 +08:00
38c7937379
Break SOCK_NONBLOCK out to its own asm-file as other arches do. This fixes build errors with auditd and probably other packages. Signed-off-by: Helge Deller <deller@gmx.de>
12 lines
272 B
C
12 lines
272 B
C
#ifndef _ASM_SOCKET_H
|
|
#define _ASM_SOCKET_H
|
|
|
|
#include <uapi/asm/socket.h>
|
|
|
|
/* O_NONBLOCK clashes with the bits used for socket types. Therefore we
|
|
* have to define SOCK_NONBLOCK to a different value here.
|
|
*/
|
|
#define SOCK_NONBLOCK 0x40000000
|
|
|
|
#endif /* _ASM_SOCKET_H */
|