xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c This is just horribly horribly wrong: /* * Due to conflicts with "compiler.h", don't rely on <sys/io.h> to declare * these. */ extern int ioperm(unsigned long __from, unsigned long __num, int __turn_on); extern int iopl(int __level); #endif
Reported upstream as: https://bugs.freedesktop.org/show_bug.cgi?id=2140 Setting bug to "UPSTREAM" status, and tracking in the upstream tracker now.