aboutsummaryrefslogtreecommitdiffstats
path: root/hwaccess_x86_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'hwaccess_x86_io.c')
-rw-r--r--hwaccess_x86_io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hwaccess_x86_io.c b/hwaccess_x86_io.c
index c3ad3139..a883ed41 100644
--- a/hwaccess_x86_io.c
+++ b/hwaccess_x86_io.c
@@ -134,6 +134,8 @@
#endif
#if defined(__LIBPAYLOAD__)
+#include <arch/io.h>
+
#define IO_PORT_PERMISSION USE_DUMMY
#define IO_PORT_FUNCTION USE_LIBC_TARGET_LAST
#endif