summaryrefslogtreecommitdiff
path: root/backport-include/linux/build_bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport-include/linux/build_bug.h')
-rw-r--r--backport-include/linux/build_bug.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/backport-include/linux/build_bug.h b/backport-include/linux/build_bug.h
new file mode 100644
index 0000000..13ee5d6
--- /dev/null
+++ b/backport-include/linux/build_bug.h
@@ -0,0 +1,10 @@
+#ifndef __BP_BUILD_BUG_H
+#define __BP_BUILD_BUG_H
+
+#if LINUX_VERSION_IS_GEQ(4,13,0)
+#include_next <linux/build_bug.h>
+#else /* LINUX_VERSION_IS_GEQ(4,13,0) */
+#include <linux/bug.h>
+#endif /* LINUX_VERSION_IS_GEQ(4,13,0) */
+
+#endif /* __BP_BUILD_BUG_H */