summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/types.h b/src/include/types.h
index d6fdc08588..5902bc268a 100644
--- a/src/include/types.h
+++ b/src/include/types.h
@@ -25,7 +25,9 @@
* from the MSB (e.g. PowerPC), but until we cross that bridge, this macro is
* perfectly fine.
*/
+#ifndef BIT
#define BIT(x) (1ul << (x))
+#endif
/**
* coreboot error codes