Skip to contentSkip to conversation

netfilter: fix userspace header warning

PATCH New Sam Ravnborg 1 participant 1 message Aug 15, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netfilter: fix userspace header warning

"make headers_check" issued the following warning:

CHECK include/linux/netfilter (64 files)
usr/include/linux/netfilter/xt_ipvs.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h>

Fix this by as suggested including linux/types.h.

---

include/linux/netfilter/xt_ipvs.h +2 -0
index 1167aeb..eff34ac 100644
@@ -1,6 +1,8 @@
 #ifndef _XT_IPVS_H
 #define _XT_IPVS_H
 
+#include <linux/types.h>
+
 enum {
 	XT_IPVS_IPVS_PROPERTY =	1 << 0, /* all other options imply this one */
 	XT_IPVS_PROTO =		1 << 1,