summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/ds_routines.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device/ds_routines.c b/device/ds_routines.c
index 9880f7e..9f3e039 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -66,6 +66,7 @@
#ifdef i386
#include <i386at/device_emul.h>
+#include <i386/device-drivers.h>
#endif
#ifdef i386
@@ -1428,7 +1429,7 @@ void io_done_thread_continue()
register spl_t s;
register io_req_t ior;
-#if defined (i386) && defined (LINUX_DEV)
+#if defined (i386) && defined (LINUX_DEV) && defined (CONFIG_INET)
free_skbuffs ();
#endif
s = splio();