summaryrefslogtreecommitdiff
path: root/op_reg_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'op_reg_common.h')
-rw-r--r--op_reg_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/op_reg_common.h b/op_reg_common.h
index 5b49ec769a..238d7bdb0e 100644
--- a/op_reg_common.h
+++ b/op_reg_common.h
@@ -19,6 +19,8 @@
* and memory. I (khw) think the code will work if changed back, but haven't
* tested it */
/* Make sure to update lib/re.pm when changing this! */
+#ifndef RXf_PMf_STD_PMMOD_SHIFT /* Only expand #include of this file once */
+
#define RXf_PMf_STD_PMMOD_SHIFT 0
/* The bits need to be ordered so that the msix are contiguous starting at bit
@@ -63,3 +65,5 @@
& (~((1 << RXf_PMf_STD_PMMOD_SHIFT)-1)))
# error RXf_PMf_COMPILETIME is invalid
#endif
+
+#endif /* Include only once */