Add headers for missing prototypes and missing prototypes
xf86_ansic.h is no more. use <errno.h> and <sys/mman.h> always. remove no longer working 1 and 4 bpp. :-(
add hw cursor support and unbork shadow fb support. TODO: find out how shadow fb is supposed to work in Xorg