diff options
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r-- | util/superiotool/superiotool.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h index a621ae5274..8c01559759 100644 --- a/util/superiotool/superiotool.h +++ b/util/superiotool/superiotool.h @@ -8,7 +8,7 @@ #include <stdint.h> #include <string.h> #include <getopt.h> -#if defined(__GLIBC__) +#if defined(__linux__) #include <sys/io.h> #endif #if (defined(__MACH__) && defined(__APPLE__)) @@ -24,6 +24,9 @@ # endif #endif +#include <sys/types.h> +#include <stdint.h> + #if defined(__FreeBSD__) #include <sys/types.h> #include <machine/cpufunc.h> |