Re: [PATCH] Omnikey Cardman 4000: pull in ioctl.h in user header

From: Andrew Morton
Date: Thu Aug 22 2013 - 18:55:52 EST


On Fri, 16 Aug 2013 14:07:09 -0400 Mike Frysinger <vapier@xxxxxxxxxx> wrote:

> This file uses the ioctl helpers (_IOR/_IOW/etc...), so include ioctl.h
> for the definitions.
>
> ...
>
> --- a/include/uapi/linux/cm4000_cs.h
> +++ b/include/uapi/linux/cm4000_cs.h
> @@ -2,6 +2,7 @@
> #define _UAPI_CM4000_H_
>
> #include <linux/types.h>
> +#include <linux/ioctl.h>
>
> #define MAX_ATR 33

I'm assuming this fixes a build error under unknown circumstances, or
not, or something else?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/