[PATCH 1/2] staging:iio: Add missing ioctl.h include to events.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We need ioctl.h for _IOR.

Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
---
Followup to "staging:iio: header reorganization". Based on linux-iio/master
---
 drivers/staging/iio/events.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/iio/events.h b/drivers/staging/iio/events.h
index 6867894..fbc198e 100644
--- a/drivers/staging/iio/events.h
+++ b/drivers/staging/iio/events.h
@@ -11,6 +11,8 @@
 #ifndef _IIO_EVENTS_H_
 #define _IIO_EVENTS_H_
 
+#include <linux/ioctl.h>
+
 /**
  * struct iio_event_data - The actual event being pushed to userspace
  * @id:		event identifier
-- 
1.7.6.3


--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux