fix ndisc compilation failure (#6984)
[openwrt/staging/dedeckeh.git] / target / linux / generic-2.4 / patches / 629-netlink_types_h.patch
1 --- a/include/linux/netlink.h
2 +++ b/include/linux/netlink.h
3 @@ -1,6 +1,8 @@
4 #ifndef __LINUX_NETLINK_H
5 #define __LINUX_NETLINK_H
6
7 +#include <linux/types.h>
8 +
9 #define NETLINK_ROUTE 0 /* Routing/device hook */
10 #define NETLINK_SKIP 1 /* Reserved for ENskip */
11 #define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */
12 --- a/include/linux/filter.h 2010-02-01 22:04:46.000000000 +0100
13 +++ b/include/linux/filter.h 2010-03-29 20:57:08.000000000 +0200
14 @@ -5,6 +5,8 @@
15 #ifndef __LINUX_FILTER_H__
16 #define __LINUX_FILTER_H__
17
18 +#include <linux/types.h>
19 +
20 /*
21 * Current version of the filter code architecture.
22 */