Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
12077:e200b0e11e9c | 12078:62705b2298ff |
---|---|
24 #include <svgalib_helper.h> | 24 #include <svgalib_helper.h> |
25 #ifdef __linux__ | 25 #ifdef __linux__ |
26 #include <linux/ioctl.h> | 26 #include <linux/ioctl.h> |
27 #endif | 27 #endif |
28 #include <fcntl.h> | 28 #include <fcntl.h> |
29 #ifndef SVGALIB_HELPER_IOC_MAGIC | |
30 /* svgalib 1.9.18+ compatibility ::atmos */ | |
31 #define SVGALIB_HELPER_IOCGPCIINL SVGAHELPER_PCIINL | |
32 #endif | |
29 int svgahelper_initialized = 0; | 33 int svgahelper_initialized = 0; |
30 int svgahelper_fd = 0; | 34 int svgahelper_fd = 0; |
31 | 35 |
32 static int pci_config_type(void) | 36 static int pci_config_type(void) |
33 { | 37 { |