summaryrefslogtreecommitdiff
path: root/sys/dev/ic/pdq_ifsubr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-21 22:27:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-21 22:27:58 +0000
commit83da6a9e5a8ac85f7f65661f4c2b7abdd92e4dd8 (patch)
treeed31830e32d863b7e6bd46b9574811c7a54d583f /sys/dev/ic/pdq_ifsubr.c
parent4209c6e4b597ecaeeec78b546c6234e31154f98c (diff)
check for __OpenBSD__, prep for tossing __NetBSD__?
Diffstat (limited to 'sys/dev/ic/pdq_ifsubr.c')
-rw-r--r--sys/dev/ic/pdq_ifsubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/pdq_ifsubr.c b/sys/dev/ic/pdq_ifsubr.c
index 9435e716c18..df191ed37a8 100644
--- a/sys/dev/ic/pdq_ifsubr.c
+++ b/sys/dev/ic/pdq_ifsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdq_ifsubr.c,v 1.3 1996/05/26 00:27:03 deraadt Exp $ */
+/* $OpenBSD: pdq_ifsubr.c,v 1.4 1996/08/21 22:27:41 deraadt Exp $ */
/* $NetBSD: pdq_ifsubr.c,v 1.5 1996/05/20 00:26:21 thorpej Exp $ */
/*-
@@ -46,7 +46,7 @@
#include <sys/malloc.h>
#if defined(__FreeBSD__)
#include <sys/devconf.h>
-#elif defined(__bsdi__) || defined(__NetBSD__)
+#elif defined(__bsdi__) || defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/device.h>
#endif
@@ -364,7 +364,7 @@ pdq_ifattach(
ifp->if_flags = IFF_BROADCAST|IFF_SIMPLEX|IFF_NOTRAILERS|IFF_MULTICAST;
-#if (defined(__FreeBSD__) && BSD >= 199506) || defined(__NetBSD__)
+#if (defined(__FreeBSD__) && BSD >= 199506) || defined(__NetBSD__) || defined(__OpenBSD__)
ifp->if_watchdog = pdq_ifwatchdog;
#else
ifp->if_watchdog = ifwatchdog;