diff options
author | Christoph Brill <egore911@egore911.de> | 2008-06-06 21:28:44 +0200 |
---|---|---|
committer | Christoph Brill <egore911@egore911.de> | 2008-06-06 21:28:44 +0200 |
commit | 7761e3903fa70aed951c0fc81b58382cf0ac6057 (patch) | |
tree | cb9d66afc4602552a002349b2cfdfd7a56545a20 /src/psmcomm.h | |
parent | da95796d0686b474ebd0752959e5d1706d82b1c3 (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/psmcomm.h')
-rw-r--r-- | src/psmcomm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/psmcomm.h b/src/psmcomm.h index a3162a2..72aaf83 100644 --- a/src/psmcomm.h +++ b/src/psmcomm.h @@ -1,8 +1,12 @@ #ifndef _PSMCOMM_H_ #define _PSMCOMM_H_ +#if defined(__FreeBSD) || defined(__NetBSD__) || defined(__OpenBSD) + #include <unistd.h> #include <sys/ioctl.h> -#include "freebsd_mouse.h" +#include <freebsd/mouse.h> + +#endif #endif /* _PSMCOMM_H_ */ |