diff options
Diffstat (limited to 'src/xf86WacomDefs.h')
-rw-r--r-- | src/xf86WacomDefs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h index 34a9375..a3b4bb2 100644 --- a/src/xf86WacomDefs.h +++ b/src/xf86WacomDefs.h @@ -1,6 +1,8 @@ /* * Copyright 1995-2002 by Frederic Lepied, France. <Lepied@XFree86.org> * Copyright 2002-2009 by Ping Cheng, Wacom Technology. <pingc@wacom.com> + * Copyright 2010 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -23,8 +25,15 @@ /***************************************************************************** * General Defines ****************************************************************************/ +#ifdef sun /* Solaris */ +#include <sys/stropts.h> +#include <sys/usb/clients/usbinput/usbwcm/usbwcm.h> +#include "../include/solaris-usbwcm.h" +#else #include <asm/types.h> #include <linux/input.h> +#endif + #define MAX_USB_EVENTS 32 #define WACOM_VENDOR_ID 0x056a /* vendor ID on the kernel device */ |