]> granicus.if.org Git - strace/commitdiff
ioctl: do not include linux/input.h
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 2 Apr 2018 18:13:37 +0000 (20:13 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 25 Apr 2018 22:54:57 +0000 (22:54 +0000)
All the ABS_* and EV_* values are now available internally,
there's no need to include the header.

* ioctl.c [HAVE_LINUX_INPUT_H]: Do not include linux/input.h.

ioctl.c

diff --git a/ioctl.c b/ioctl.c
index 0a7f9b891c1d20d4e8da06c7c221f4cf8f85f450..59b0a6b50e937f4929f00d66a4ef5877eccf70d0 100644 (file)
--- a/ioctl.c
+++ b/ioctl.c
 #include <linux/ioctl.h>
 #include "xlat/ioctl_dirs.h"
 
-#ifdef HAVE_LINUX_INPUT_H
-# include <linux/input.h>
-#endif
-
 #include "xlat/evdev_abs.h"
 #include "xlat/evdev_ev.h"