diff options
| -rw-r--r-- | src/evemu.c | 2 | ||||
| -rw-r--r-- | tools/evemu-describe.c | 1 | ||||
| -rw-r--r-- | tools/evemu-device.c | 1 | ||||
| -rw-r--r-- | tools/evemu-play.c | 1 | ||||
| -rw-r--r-- | tools/evemu-record.c | 1 |
5 files changed, 6 insertions, 0 deletions
diff --git a/src/evemu.c b/src/evemu.c index 553e765..50765b0 100644 --- a/src/evemu.c +++ b/src/evemu.c | |||
| @@ -33,6 +33,8 @@ | |||
| 33 | #include <fcntl.h> | 33 | #include <fcntl.h> |
| 34 | #include <errno.h> | 34 | #include <errno.h> |
| 35 | #include <poll.h> | 35 | #include <poll.h> |
| 36 | #include <ctype.h> | ||
| 37 | #include <unistd.h> | ||
| 36 | 38 | ||
| 37 | #ifndef UI_SET_PROPBIT | 39 | #ifndef UI_SET_PROPBIT |
| 38 | #define UI_SET_PROPBIT _IOW(UINPUT_IOCTL_BASE, 110, int) | 40 | #define UI_SET_PROPBIT _IOW(UINPUT_IOCTL_BASE, 110, int) |
diff --git a/tools/evemu-describe.c b/tools/evemu-describe.c index 6c6cdab..f91704e 100644 --- a/tools/evemu-describe.c +++ b/tools/evemu-describe.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <stdio.h> | 30 | #include <stdio.h> |
| 31 | #include <fcntl.h> | 31 | #include <fcntl.h> |
| 32 | #include <string.h> | 32 | #include <string.h> |
| 33 | #include <unistd.h> | ||
| 33 | 34 | ||
| 34 | static int describe_device(int fd) | 35 | static int describe_device(int fd) |
| 35 | { | 36 | { |
diff --git a/tools/evemu-device.c b/tools/evemu-device.c index 79193ff..ddfc6b0 100644 --- a/tools/evemu-device.c +++ b/tools/evemu-device.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <stdio.h> | 30 | #include <stdio.h> |
| 31 | #include <fcntl.h> | 31 | #include <fcntl.h> |
| 32 | #include <string.h> | 32 | #include <string.h> |
| 33 | #include <unistd.h> | ||
| 33 | 34 | ||
| 34 | #define UINPUT_NODE "/dev/uinput" | 35 | #define UINPUT_NODE "/dev/uinput" |
| 35 | #define MAX_EVENT_NODE 32 | 36 | #define MAX_EVENT_NODE 32 |
diff --git a/tools/evemu-play.c b/tools/evemu-play.c index 286bf6a..7c042c2 100644 --- a/tools/evemu-play.c +++ b/tools/evemu-play.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <stdio.h> | 30 | #include <stdio.h> |
| 31 | #include <fcntl.h> | 31 | #include <fcntl.h> |
| 32 | #include <string.h> | 32 | #include <string.h> |
| 33 | #include <unistd.h> | ||
| 33 | 34 | ||
| 34 | int main(int argc, char *argv[]) | 35 | int main(int argc, char *argv[]) |
| 35 | { | 36 | { |
diff --git a/tools/evemu-record.c b/tools/evemu-record.c index e748351..19ff7e4 100644 --- a/tools/evemu-record.c +++ b/tools/evemu-record.c | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | #include <stdio.h> | 30 | #include <stdio.h> |
| 31 | #include <fcntl.h> | 31 | #include <fcntl.h> |
| 32 | #include <string.h> | 32 | #include <string.h> |
| 33 | #include <unistd.h> | ||
| 33 | 34 | ||
| 34 | #define WAIT_MS 10000 | 35 | #define WAIT_MS 10000 |
| 35 | 36 | ||
