summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sio/sio.c4
-rw-r--r--sys/isa/sio.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 4788bf9..012920d 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -87,13 +87,15 @@
#endif
#include <isa/ic/ns16550.h>
-#include "card.h"
#if 0
+#include "card.h"
#if NCARD > 0
#include <sys/module.h>
#include <pccard/cardinfo.h>
#include <pccard/slot.h>
#endif
+#else
+#define NCARD 0
#endif
#ifndef __i386__
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 4788bf9..012920d 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -87,13 +87,15 @@
#endif
#include <isa/ic/ns16550.h>
-#include "card.h"
#if 0
+#include "card.h"
#if NCARD > 0
#include <sys/module.h>
#include <pccard/cardinfo.h>
#include <pccard/slot.h>
#endif
+#else
+#define NCARD 0
#endif
#ifndef __i386__
OpenPOWER on IntegriCloud