summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2005-02-18 19:57:27 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2005-02-18 19:57:27 +0000
commit1ee5335cc35b68054851fad7ed576672b6e22886 (patch)
treecc305238e8464e0910d5fe806ff14391fb3cec60 /sys/dev
parent478c4de27efb74317b62d0ec09fd0a0a4a826a55 (diff)
make sure bpfilter.h is included before including ralvar.h. fixes a panic
in if_ral_cardbus.c.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cardbus/if_ral_cardbus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/cardbus/if_ral_cardbus.c b/sys/dev/cardbus/if_ral_cardbus.c
index 848210376b5..46776c3fc86 100644
--- a/sys/dev/cardbus/if_ral_cardbus.c
+++ b/sys/dev/cardbus/if_ral_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ral_cardbus.c,v 1.1 2005/02/15 20:51:18 damien Exp $ */
+/* $OpenBSD: if_ral_cardbus.c,v 1.2 2005/02/18 19:57:26 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -21,6 +21,8 @@
* CardBus front-end for the Ralink RT2500 driver.
*/
+#include "bpfilter.h"
+
#include <sys/param.h>
#include <sys/sockio.h>
#include <sys/mbuf.h>