From 3460dc486d333231998de0f19918204aacee9ae3 Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Sat, 28 Mar 2015 18:40:13 +0100 Subject: [PATCH] Include for _IOC_* macros Fix a compilation failure with musl libc. * evdev.c: Include . * ioctl.c: Include instead of . * ioctlsort.c: Likewise. Reported-by: Dima Krasner Acked-by: Mike Frysinger --- evdev.c | 2 ++ ioctl.c | 2 +- ioctlsort.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/evdev.c b/evdev.c index 9a7430db..e06f9c15 100644 --- a/evdev.c +++ b/evdev.c @@ -28,6 +28,8 @@ #include "defs.h" +#include + #ifdef HAVE_LINUX_INPUT_H #include #include "xlat/evdev_abs.h" diff --git a/ioctl.c b/ioctl.c index 46f83342..c67d048b 100644 --- a/ioctl.c +++ b/ioctl.c @@ -29,7 +29,7 @@ */ #include "defs.h" -#include +#include #include "xlat/ioctl_dirs.h" #ifdef HAVE_LINUX_INPUT_H diff --git a/ioctlsort.c b/ioctlsort.c index 333556c8..9c316910 100644 --- a/ioctlsort.c +++ b/ioctlsort.c @@ -33,7 +33,7 @@ #include #include #include -#include +#include struct ioctlent { const char *info;