diff libdha/sysdep/pci_linux.c @ 12078:62705b2298ff

svgalib 1.9.18 compile fix, still wont work for me though...
author atmos4
date Sun, 28 Mar 2004 16:30:08 +0000
parents 22f8732b5d97
children cb35163ef0a1
line wrap: on
line diff
--- a/libdha/sysdep/pci_linux.c	Sun Mar 28 14:44:49 2004 +0000
+++ b/libdha/sysdep/pci_linux.c	Sun Mar 28 16:30:08 2004 +0000
@@ -26,6 +26,10 @@
 #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;