diff options
author | Xi Wang <xi.wang@gmail.com> | 2013-05-01 22:24:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-01 22:28:48 +0200 |
commit | 20074f357da4a637430aec2879c9d864c5d2c23c (patch) | |
tree | e121072dbe158110e88dba8efa9486c9b4d72cf1 /include | |
parent | af_unix: fix a fatal race with bit fields (diff) | |
download | linux-20074f357da4a637430aec2879c9d864c5d2c23c.tar.xz linux-20074f357da4a637430aec2879c9d864c5d2c23c.zip |
filter: fix va_list build error
This patch fixes the following build error.
In file included from include/linux/filter.h:52:0,
from arch/arm/net/bpf_jit_32.c:14:
include/linux/printk.h:54:2: error: unknown type name ‘va_list’
include/linux/printk.h:105:21: error: unknown type name ‘va_list’
include/linux/printk.h:108:30: error: unknown type name ‘va_list’
Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/filter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/filter.h b/include/linux/filter.h index d1248f401a56..c050dcc322a4 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -48,6 +48,7 @@ extern int sk_chk_filter(struct sock_filter *filter, unsigned int flen); extern int sk_get_filter(struct sock *sk, struct sock_filter __user *filter, unsigned len); #ifdef CONFIG_BPF_JIT +#include <stdarg.h> #include <linux/linkage.h> #include <linux/printk.h> |