summaryrefslogtreecommitdiff
path: root/tools/gpio/gpio-event-mon.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpio/gpio-event-mon.c')
-rw-r--r--tools/gpio/gpio-event-mon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpio/gpio-event-mon.c b/tools/gpio/gpio-event-mon.c
index be6768e21b09..dac4d4131d9b 100644
--- a/tools/gpio/gpio-event-mon.c
+++ b/tools/gpio/gpio-event-mon.c
@@ -24,6 +24,7 @@
#include <getopt.h>
#include <inttypes.h>
#include <sys/ioctl.h>
+#include <sys/types.h>
#include <linux/gpio.h>
int monitor_device(const char *device_name,