diff options
Diffstat (limited to 'libdha/sysdep/pci_linux.c')
-rw-r--r-- | libdha/sysdep/pci_linux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdha/sysdep/pci_linux.c b/libdha/sysdep/pci_linux.c index a4486dd041..7d27fc073f 100644 --- a/libdha/sysdep/pci_linux.c +++ b/libdha/sysdep/pci_linux.c @@ -26,6 +26,10 @@ int dhahelper_fd = 0; #include <linux/ioctl.h> #endif #include <fcntl.h> +#ifndef SVGALIB_HELPER_IOC_MAGIC +/* svgalib 1.9.18+ compatibility ::atmos */ +#define SVGALIB_HELPER_IOCGPCIINL SVGAHELPER_PCIINL +#endif int svgahelper_initialized = 0; int svgahelper_fd = 0; |