Skip to contentSkip to conversation

uapi: dn: pull in ioctl.h header

PATCH New Mike Frysinger 1 participant 1 message Jan 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uapi: dn: pull in ioctl.h header

This header uses _IOW/_IOR defines but doesn't include ioctl.h for it. If you try to use this w/out including ioctl.h yourself, it can fail to build, so add the explicit include.

---
 include/uapi/linux/dn.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/dn.h +1 -0
index 5fbdd3d..4295c74 100644
@@ -1,6 +1,7 @@
 #ifndef _LINUX_DN_H
 #define _LINUX_DN_H
 
+#include <linux/ioctl.h>
 #include <linux/types.h>
 #include <linux/if_ether.h>
 
Signature · 1 line
1.8.4.3