[Click] [PATCH 09/12] include <generated/autoconf.h> on linux 2.6.33+
Eddie Kohler
kohler at cs.ucla.edu
Sun Jan 16 17:36:55 EST 2011
This is not necessary if we use #ifndef AUTOCONF_INCLUDED here too.
E
On 9/25/10 10:30 PM, Joonwoo Park wrote:
> Signed-off-by: Joonwoo Park<joonwpark81 at gmail.com>
> ---
> linuxmodule/proclikefs.c | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/linuxmodule/proclikefs.c b/linuxmodule/proclikefs.c
> index 1e4710b..b935d38 100644
> --- a/linuxmodule/proclikefs.c
> +++ b/linuxmodule/proclikefs.c
> @@ -19,7 +19,11 @@
>
> #undef CLICK_LINUXMODULE
> #include<linux/version.h>
> -#include<linux/autoconf.h>
> +#if LINUX_VERSION_CODE< KERNEL_VERSION(2, 6, 33)
> +# include<linux/autoconf.h>
> +#else
> +# include<generated/autoconf.h>
> +#endif
> #ifndef EXPORT_SYMTAB
> # define EXPORT_SYMTAB
> #endif
More information about the click
mailing list