diff options
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 6f0dfeba509a..4db21e63d8d2 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
@@ -19,13 +19,12 @@ | |||
19 | #define _LINUX_NET_H | 19 | #define _LINUX_NET_H |
20 | 20 | ||
21 | #include <linux/wait.h> | 21 | #include <linux/wait.h> |
22 | #include <linux/random.h> | ||
23 | #include <asm/socket.h> | 22 | #include <asm/socket.h> |
24 | 23 | ||
25 | struct poll_table_struct; | 24 | struct poll_table_struct; |
26 | struct inode; | 25 | struct inode; |
27 | 26 | ||
28 | #define NPROTO 32 /* should be enough for now.. */ | 27 | #define NPROTO 33 /* should be enough for now.. */ |
29 | 28 | ||
30 | #define SYS_SOCKET 1 /* sys_socket(2) */ | 29 | #define SYS_SOCKET 1 /* sys_socket(2) */ |
31 | #define SYS_BIND 2 /* sys_bind(2) */ | 30 | #define SYS_BIND 2 /* sys_bind(2) */ |
@@ -57,6 +56,7 @@ typedef enum { | |||
57 | 56 | ||
58 | #ifdef __KERNEL__ | 57 | #ifdef __KERNEL__ |
59 | #include <linux/stringify.h> | 58 | #include <linux/stringify.h> |
59 | #include <linux/random.h> | ||
60 | 60 | ||
61 | #define SOCK_ASYNC_NOSPACE 0 | 61 | #define SOCK_ASYNC_NOSPACE 0 |
62 | #define SOCK_ASYNC_WAITDATA 1 | 62 | #define SOCK_ASYNC_WAITDATA 1 |