summaryrefslogtreecommitdiff
path: root/i386/i386at/i386at_ds_routines.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/i386at_ds_routines.c')
-rw-r--r--i386/i386at/i386at_ds_routines.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/i386/i386at/i386at_ds_routines.c b/i386/i386at/i386at_ds_routines.c
index b1375af..b67aa9e 100644
--- a/i386/i386at/i386at_ds_routines.c
+++ b/i386/i386at/i386at_ds_routines.c
@@ -35,20 +35,25 @@
#include <i386at/dev_hdr.h>
#include <i386at/device_emul.h>
+#include <i386/device-drivers.h>
extern struct device_emulation_ops mach_device_emulation_ops;
#ifdef LINUX_DEV
extern struct device_emulation_ops linux_block_emulation_ops;
+#ifdef CONFIG_INET
extern struct device_emulation_ops linux_net_emulation_ops;
#endif
+#endif
/* List of emulations. */
static struct device_emulation_ops *emulation_list[] =
{
#ifdef LINUX_DEV
&linux_block_emulation_ops,
+#ifdef CONFIG_INET
&linux_net_emulation_ops,
#endif
+#endif
&mach_device_emulation_ops,
};