summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@bitmath.org>2011-01-05 11:16:16 +0100
committerHenrik Rydberg <rydberg@bitmath.org>2011-01-05 11:16:16 +0100
commit5a059c6a73cc49098add6bc5d3cf9e6f6467c94f (patch)
treed15dc54fbda361b1fea932019c2c34435da1a734 /tools
parentd11ccad8d8e336ccab33d2abe44109f47c1bc65f (diff)
Add a couple of includes to silence compiler warnings.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'tools')
-rw-r--r--tools/evemu-describe.c1
-rw-r--r--tools/evemu-device.c1
-rw-r--r--tools/evemu-play.c1
-rw-r--r--tools/evemu-record.c1
4 files changed, 4 insertions, 0 deletions
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 @@
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
+#include <unistd.h>
static int describe_device(int fd)
{
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 @@
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
+#include <unistd.h>
#define UINPUT_NODE "/dev/uinput"
#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 @@
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
+#include <unistd.h>
int main(int argc, char *argv[])
{
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 @@
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
+#include <unistd.h>
#define WAIT_MS 10000