Older versions of glibc include it directly from <sys/io.h>, the newer
ones define the I/O port access stuff themselves, colliding with <asm/io.h>.
/*
- * $Id: i386-ports.c,v 1.1 1999/01/22 21:05:26 mj Exp $
+ * $Id: i386-ports.c,v 1.2 2000/01/24 15:36:09 mj Exp $
*
* The PCI Library -- Direct Configuration access via i386 Ports
*
* Can be freely distributed and used under the terms of the GNU GPL.
*/
-#include <asm/io.h>
#include <unistd.h>
#ifdef __GLIBC__
#include <sys/io.h>
+#else
+#include <asm/io.h>
#endif
#include "internal.h"