Skip to contentSkip to conversation

Omnikey Cardman 4000: pull in ioctl.h in user header

PATCH In review Mike Frysinger 2 participants 3 messages Aug 16, 2013 – Aug 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Omnikey Cardman 4000: pull in ioctl.h in user header

This file uses the ioctl helpers (_IOR/_IOW/etc...), so include ioctl.h for the definitions.

---
 include/uapi/linux/cm4000_cs.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/cm4000_cs.h +1 -0
index bc51f77..1217f75 100644
@@ -2,6 +2,7 @@
 #define _UAPI_CM4000_H_
 
 #include <linux/types.h>
+#include <linux/ioctl.h>
 
 #define	MAX_ATR			33
 
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 8 lines · On Fri, 16 Aug 2013 14:07:09 -0400 Mike Frysinger <[email protected]> wrote:

This file uses the ioctl helpers (_IOR/_IOW/etc...), so include ioctl.h for the definitions.

...

include/uapi/linux/cm4000_cs.h line 7

Quoted 6 lines
include/uapi/linux/cm4000_cs.h +1 -0
@@ -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?

#2 lore raw
Quoted 11 lines · On Thursday 22 August 2013 18:55:45 Andrew Morton wrote:
Quoted 10 lines · On Fri, 16 Aug 2013 14:07:09 -0400 Mike Frysinger wrote:

This file uses the ioctl helpers (_IOR/_IOW/etc...), so include ioctl.h for the definitions.

...

include/uapi/linux/cm4000_cs.h +0 -0
@@ -2,6 +2,7 @@
 #define _UAPI_CM4000_H_
 
Quoted 7 lines

include/uapi/linux/cm4000_cs.h line 7

Quoted 4 lines
include/uapi/linux/cm4000_cs.h +1 -0
 #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?

yes, it's to fix a build error. i don't have any specific source packages that are known to fail though. just doing analysis of the headers by grep/eye. -mike