summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device/oprom/include/io.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/oprom/include/io.h b/src/device/oprom/include/io.h
index fc11640f72..3a723bd056 100644
--- a/src/device/oprom/include/io.h
+++ b/src/device/oprom/include/io.h
@@ -11,6 +11,9 @@
* GNU General Public License for more details.
*/
+#ifndef __OPROM_IO_H__
+#define __OPROM_IO_H__
+
#if IS_ENABLED(CONFIG_ARCH_X86)
#include <arch/io.h>
#else
@@ -22,3 +25,4 @@ u8 inb(u16 port);
u16 inw(u16 port);
u32 inl(u16 port);
#endif
+#endif /* __OPROM_IO_H__ */