tools/gpio: Fix build error with musl libc
[linux-2.6-microblaze.git] / tools / gpio / gpio-event-mon.c
index be6768e..dac4d41 100644 (file)
@@ -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,