fix ndisc compilation failure (#6984)

SVN-Revision: 20591
lede-17.01
Florian Fainelli 2010-03-29 21:20:36 +00:00
parent 23c3cdcd66
commit dc4712f887
1 changed files with 11 additions and 0 deletions

View File

@ -9,3 +9,14 @@
#define NETLINK_ROUTE 0 /* Routing/device hook */ #define NETLINK_ROUTE 0 /* Routing/device hook */
#define NETLINK_SKIP 1 /* Reserved for ENskip */ #define NETLINK_SKIP 1 /* Reserved for ENskip */
#define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */ #define NETLINK_USERSOCK 2 /* Reserved for user mode socket protocols */
--- a/include/linux/filter.h 2010-02-01 22:04:46.000000000 +0100
+++ b/include/linux/filter.h 2010-03-29 20:57:08.000000000 +0200
@@ -5,6 +5,8 @@
#ifndef __LINUX_FILTER_H__
#define __LINUX_FILTER_H__
+#include <linux/types.h>
+
/*
* Current version of the filter code architecture.
*/