summaryrefslogtreecommitdiff
path: root/src/eventcomm.h
diff options
context:
space:
mode:
authorChristoph Brill <egore911@egore911.de>2008-06-06 21:28:44 +0200
committerChristoph Brill <egore911@egore911.de>2008-06-06 21:28:44 +0200
commit7761e3903fa70aed951c0fc81b58382cf0ac6057 (patch)
treecb9d66afc4602552a002349b2cfdfd7a56545a20 /src/eventcomm.h
parentda95796d0686b474ebd0752959e5d1706d82b1c3 (diff)
Initial version that passes "make distcheck".
This version is able to build against latest xorg git (including xinput changes for MPX). It incoperates many concepts stolen from xf86-input-evdev. I'm not sure about *BSD support, but from what I understood psmcomm is only used on *BSD whild eventcomm is only used on Linux. So I enabled the build of these only on the given operating system. Also fix some minor issues that are related to the old build system (VERSION_ID related).
Diffstat (limited to 'src/eventcomm.h')
-rw-r--r--src/eventcomm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/eventcomm.h b/src/eventcomm.h
index 8a78c38..93bf34d 100644
--- a/src/eventcomm.h
+++ b/src/eventcomm.h
@@ -19,10 +19,14 @@
#ifndef _EVENTCOMM_H_
#define _EVENTCOMM_H_
-#include "linux_input.h"
+#ifdef __LINUX
+
+#include <linux/input.h>
/* for auto-dev: */
#define DEV_INPUT_EVENT "/dev/input"
#define EVENT_DEV_NAME "event"
+#endif
+
#endif /* _EVENTCOMM_H_ */