summaryrefslogtreecommitdiff
path: root/src/ps2comm.c
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/ps2comm.c
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/ps2comm.c')
-rw-r--r--src/ps2comm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ps2comm.c b/src/ps2comm.c
index fe1b929..c805785 100644
--- a/src/ps2comm.c
+++ b/src/ps2comm.c
@@ -25,6 +25,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "ps2comm.h"
#include "synproto.h"
#include "synaptics.h"