diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-18 19:31:58 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-18 19:31:58 -0500 |
commit | 61aa6324af982b635f8c392640a4e8e450c4c6b4 (patch) | |
tree | b17e98b2fd56ef4b11bca2d15007a2b3c8b7a90e /include | |
parent | f54ac2446abac57cacebc64df78a5ef850045700 (diff) | |
download | musl-61aa6324af982b635f8c392640a4e8e450c4c6b4.tar.gz musl-61aa6324af982b635f8c392640a4e8e450c4c6b4.tar.bz2 musl-61aa6324af982b635f8c392640a4e8e450c4c6b4.tar.xz musl-61aa6324af982b635f8c392640a4e8e450c4c6b4.zip |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/io.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 <features.h> + +#include <bits/io.h> #ifdef __cplusplus } |