summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2008-03-30 14:09:20 +0000
committerkrw <krw@openbsd.org>2008-03-30 14:09:20 +0000
commit819cb61aa0a605682dc4468ea4ad63517d360693 (patch)
tree732213a21b8abf68c61d1433273d3ef41c962cc5
parentPad the RXD buffer so that packets are aligned on a 128-byte boundary. This (diff)
downloadwireguard-openbsd-819cb61aa0a605682dc4468ea4ad63517d360693.tar.xz
wireguard-openbsd-819cb61aa0a605682dc4468ea4ad63517d360693.zip
Fix #ifdef NCOM collateral damage introduced in r1.210.
ok miod@ kettenis@
-rw-r--r--sys/arch/i386/i386/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c
index 9cf9207dddc..c1bc2bb62ef 100644
--- a/sys/arch/i386/i386/machdep.c
+++ b/sys/arch/i386/i386/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.419 2008/03/17 23:17:22 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.420 2008/03/30 14:09:20 krw Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -165,7 +165,7 @@ extern struct proc *npxproc;
#include "com.h"
#include "pccom.h"
-#if NPCCOM > 0
+#if (NCOM > 0 || NPCCOM > 0)
#include <sys/termios.h>
#include <dev/ic/comreg.h>
#if NCOM > 0