summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--device/kmsg.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ddedde..4272191 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2007-03-24 Thomas Schwinge <tschwinge@gnu.org>
+ * device/kmsg.h: Include <sys/types.h>, <device/device_types.h> and
+ <device/io_req.h>.
+
* Makefrag.am (libkernel_a_SOURCES): Move `device/kmsg.h' into
[enable_kmsg].
diff --git a/device/kmsg.h b/device/kmsg.h
index e0e7a67..adfc945 100644
--- a/device/kmsg.h
+++ b/device/kmsg.h
@@ -3,6 +3,11 @@
#ifdef MACH_KERNEL
+#include <sys/types.h>
+
+#include <device/device_types.h>
+#include <device/io_req.h>
+
io_return_t kmsgopen (dev_t dev, int flag, io_req_t ior);
io_return_t kmsgclose (dev_t dev, int flag);
io_return_t kmsgread (dev_t dev, io_req_t ior);