You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
489 B

  1. --- a/server/drivers/port.h
  2. +++ b/server/drivers/port.h
  3. @@ -94,7 +94,7 @@ static inline int port_deny_multiple(unsigned short port, unsigned short count);
  4. /* ---------------------------- Linux ------------------------------------ */
  5. /* Use ioperm, inb and outb in <sys/io.h> (Linux) */
  6. /* And iopl for higher addresses of PCI LPT cards */
  7. -#if defined HAVE_IOPERM
  8. +#if defined(__GLIBC__) || (defined(__x86__) || defined(__x86_64__))
  9. /* Glibc2 and Glibc1 */
  10. # ifdef HAVE_SYS_IO_H