summaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 08:36:20 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-19 08:36:20 +0930
commit3e0dc9945d795cfd51ffe176100fa9416b6d3c4d (patch)
treeee06e917721ff352f415849b1b0ba6938ec66a08 /src/evdev.c
parentff6251a2bd347eef7b3cd80825e84d983eeecfd3 (diff)
Shut up two compiler warnings.
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 68e6cc2..3e4a48c 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -34,6 +34,7 @@
#include <X11/extensions/XIproto.h>
#include <linux/input.h>
+#include <unistd.h>
#include <misc.h>
#include <xf86.h>
@@ -172,7 +173,6 @@ EvdevReadInput(InputInfoPtr pInfo)
int len, value;
int dx, dy;
unsigned int abs;
- Bool do_touchpad_motion = FALSE;
EvdevPtr pEvdev = pInfo->private;
dx = 0;