aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/sys/param.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 85890edd304e1..6c796abd963b0 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -89,6 +89,10 @@
/* More types and definitions used throughout the kernel. */
#ifdef _KERNEL
+#if (defined(BURN_BRIDGES) || __FreeBSD_version >= 600000) \
+ && defined(OBSOLETE_IN_6)
+#error "This file contains obsolete code to be removed in 6.0-current"
+#endif
#include <sys/cdefs.h>
#include <sys/errno.h>
#include <sys/time.h>