#define __BYTE_ORDER BYTE_ORDER etc.
now endianness detection actually works and colours look right on my Gdium
Port the ancient Xsun based monolithic MD X68k server to X11R7, like Xnest.

Most diffs (API changes from xfree to xorg and some WARNSfy)
are mechanical.  Confirmed working on X68030 and XM6i.

See my post on port-x68k@ for details:
http://mail-index.netbsd.org/port-x68k/2014/02/27/msg000043.html
Fix comment to sync with code.
Replace xalloc(), xrealloc() and xfree() with malloc(), realloc() and free().

Per following Xorg changes:
> Replace X-allocation functions with their C89 counterparts
http://cgit.freedesktop.org/xorg/xserver/commit/?id=3f3ff971ecff9936cebafc813af9193b97bba89c
Fix abs usage.
Drop tautologic check.