summaryrefslogtreecommitdiffstats
path: root/testsuite/include/rtems/bsd/test/default-init.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/include/rtems/bsd/test/default-init.h')
-rw-r--r--testsuite/include/rtems/bsd/test/default-init.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/include/rtems/bsd/test/default-init.h b/testsuite/include/rtems/bsd/test/default-init.h
index ea502f94..d4139759 100644
--- a/testsuite/include/rtems/bsd/test/default-init.h
+++ b/testsuite/include/rtems/bsd/test/default-init.h
@@ -34,6 +34,13 @@ static void default_wait_for_link_up( const char *name )
}
}
+/*
+ * Work around the need for this declr and not being able to include sys/ioctl.h.
+ *
+ * rtems/bdbuf.h have a call to it
+ */
+int ioctl(int fd, unsigned long request, ...);
+
static void default_set_self_prio( rtems_task_priority prio )
{
rtems_status_code sc;