mirror of
https://github.com/X11Libre/xf86-video-chips.git
synced 2026-03-24 01:24:44 +00:00
Fix implicit declaration of iopl
warning: implicit declaration of function ‘iopl’ [-Wimplicit-function-declaration] Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
# include <machine/pio.h>
|
||||
# include <machine/sysarch.h>
|
||||
#else
|
||||
# if defined(__linux__)
|
||||
/* Can't because <sys/iopl.h> provides conflicting inb, outb, etc
|
||||
* # include <sys/io.h>
|
||||
*/
|
||||
int iopl(int level);
|
||||
# endif
|
||||
# if defined(SVR4) && defined(i386)
|
||||
# include <sys/types.h>
|
||||
# ifdef NCR
|
||||
|
||||
Reference in New Issue
Block a user