summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-11-16 22:33:42 +0000
committerWarner Losh <imp@FreeBSD.org>2003-11-16 22:33:42 +0000
commit10b4620bf0da5ab906ab14240170400d57c37a73 (patch)
tree1b643309a8b2a893ae1da1ac1a335f7d9e362978
parent52108daca2a2728eb12b99b09d1e9c433e482942 (diff)
Notes
-rw-r--r--sys/dev/idt/idt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/idt/idt.c b/sys/dev/idt/idt.c
index 0af6c7f93cd0..b816bdacf0f7 100644
--- a/sys/dev/idt/idt.c
+++ b/sys/dev/idt/idt.c
@@ -106,6 +106,14 @@ __FBSDID("$FreeBSD$");
#include <net/if.h>
#include <net/if_arp.h>
+/* Gross kludge to make lint compile again. This sucks, but oh well */
+#ifdef COMPILING_LINT
+#undef MCLBYTES
+#undef MCLSHIFT
+#define MCLBYTES 2048
+#define MCLSHIFT 11
+#endif
+
#if MCLBYTES != 2048
#error "This nicstar driver depends on 2048 byte mbuf clusters."
#endif