aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-02-10 12:36:18 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-10 12:36:18 +1100
commit6c344509ca4042be52852b8b20456ab93512f27d (patch)
tree525fe89a82095d21b7da073c2fe91e69e9e44121 /include
parented24cf67c2e47546c3e57e630977bc51b7a38abd (diff)
downloadskiboot-6c344509ca4042be52852b8b20456ab93512f27d.zip
skiboot-6c344509ca4042be52852b8b20456ab93512f27d.tar.gz
skiboot-6c344509ca4042be52852b8b20456ab93512f27d.tar.bz2
Add #ifdef __SKIBOOT__ around types.h include in opal.h
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/opal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/opal.h b/include/opal.h
index e9d3425..4cdde65 100644
--- a/include/opal.h
+++ b/include/opal.h
@@ -17,9 +17,11 @@
#ifndef __OPAL_H
#define __OPAL_H
+#ifdef __SKIBOOT__
#ifndef __ASSEMBLY__
#include <types.h>
#endif /* __ASSEMBLY__ */
+#endif /* __SKIBOOT__ */
/****** OPAL APIs ******/