Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef _ASM_SOCKET_H | ||||
3 | #define _ASM_SOCKET_H | ||||
4 | |||||
5 | #include <uapi/asm/socket.h> | ||||
6 | |||||
Olivier Deprez | 157378f | 2022-04-04 15:47:50 +0200 | [diff] [blame^] | 7 | /* O_NONBLOCK clashed with the bits used for socket types. Therefore we |
8 | * had to define SOCK_NONBLOCK to a different value here. | ||||
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 9 | */ |
10 | #define SOCK_NONBLOCK 0x40000000 | ||||
11 | |||||
12 | #endif /* _ASM_SOCKET_H */ |