From 61aa6324af982b635f8c392640a4e8e450c4c6b4 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 18 Nov 2012 19:31:58 -0500 Subject: add port io functions to sys/io.h based on proposal by Isaac Dunham. nonexistance of bits/io.h will cause inclusion of sys/io.h to produce an error on archs that are not supposed to have it. this is probably the desired behavior, but the error message may be a bit unusual. --- include/sys/io.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/sys/io.h b/include/sys/io.h index a6ba4674..ce5423e5 100644 --- a/include/sys/io.h +++ b/include/sys/io.h @@ -4,8 +4,9 @@ extern "C" { #endif -int ioperm(unsigned long, unsigned long, int); -int iopl(int); +#include + +#include #ifdef __cplusplus } -- cgit v1.2.1