Hi,
 
When compile xf86-input-mouse, it failed with error:
mouse.c: In function 'autoOSProtocol':
mouse.c:3216: error: 'BUILTIN_IF_OSMOUSE' undeclared (first use in this function)
I checked the xserver code, the macro 'BUILTIN_IF_OSMOUSE' has been removed in below commit:
 
commit b89a59248a4a0ff06b9a0ddee45881efc6063063
Author: Daniel Stone <daniel@fooishbar.org>
Date:   Fri Jun 27 12:20:56 2008 +0300
 
    XFree86: Delete OSMouse code
 
    This should be moved into the mouse driver, if anything.
 
 
Could you fix this?
 
Thanks,
Nian Wu