From e2cb94b0f3f555f4b1744d63caa587c804f942a2 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Mon, 19 Aug 2013 11:14:30 +0200 Subject: Enable MSE_MISC on NetBSD as well. Otherwise we can't find WSMouse. Reviewed-by: Alan Coopersmith From Matthew R. Green Signed-off-by: Thomas Klausner --- src/bsd_mouse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bsd_mouse.c b/src/bsd_mouse.c index ca4c9d0..98e5ff3 100644 --- a/src/bsd_mouse.c +++ b/src/bsd_mouse.c @@ -97,9 +97,7 @@ static const char *mouseDevs[] = { static int SupportedInterfaces(void) { -#if defined(__NetBSD__) - return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO; -#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) || defined(__NetBSD__) return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_AUTO | MSE_MISC; #else return MSE_SERIAL | MSE_BUS | MSE_PS2 | MSE_XPS2 | MSE_AUTO | MSE_MISC; -- cgit v1.2.1