diff options
author | Peter Osterlund <petero2@telia.com> | 2006-06-13 20:33:16 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-07-07 09:34:26 +0200 |
commit | 168b6dbfcf61c6df458f420467dd0646fe994595 (patch) | |
tree | 960d4ab9511b93bf0a5aa9ea370ce64e47bb4598 | |
parent | 7f1b7a4b4cd081ed5b306669e152994de719c381 (diff) |
Fix compile errors when using Xorg 7.1.
Initial patch from VMiklos <vmiklos@frugalware.org>. Somewhat
modified by me.
-rw-r--r-- | eventcomm.c | 5 | ||||
-rw-r--r-- | ps2comm.h | 1 | ||||
-rw-r--r-- | psmcomm.c | 2 | ||||
-rw-r--r-- | psmcomm.h | 1 | ||||
-rw-r--r-- | synaptics.c | 1 | ||||
-rw-r--r-- | synproto.h | 1 |
6 files changed, 11 insertions, 0 deletions
diff --git a/eventcomm.c b/eventcomm.c index 6f6de7f..1b0f8bc 100644 --- a/eventcomm.c +++ b/eventcomm.c @@ -18,6 +18,11 @@ */ #include "eventcomm.h" +#include <errno.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <stdio.h> #include "synproto.h" #include "synaptics.h" #include <xf86.h> @@ -1,6 +1,7 @@ #ifndef _PS2COMM_H_ #define _PS2COMM_H_ +#include <unistd.h> #include <sys/ioctl.h> #include "xf86_OSproc.h" @@ -29,6 +29,8 @@ */ #include "psmcomm.h" +#include <errno.h> +#include <string.h> #include "synproto.h" #include "synaptics.h" #include "ps2comm.h" /* ps2_print_ident() */ @@ -1,6 +1,7 @@ #ifndef _PSMCOMM_H_ #define _PSMCOMM_H_ +#include <unistd.h> #include <sys/ioctl.h> #include "freebsd_mouse.h" diff --git a/synaptics.c b/synaptics.c index 2a17f81..63edebb 100644 --- a/synaptics.c +++ b/synaptics.c @@ -59,6 +59,7 @@ * Standard Headers ****************************************************************************/ +#include <unistd.h> #include <sys/ioctl.h> #include <misc.h> #include <xf86.h> @@ -19,6 +19,7 @@ #ifndef _SYNPROTO_H_ #define _SYNPROTO_H_ +#include <unistd.h> #include <sys/ioctl.h> #include <xf86Xinput.h> #include <xisb.h> |