summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-03-23 23:57:22 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:06 +0200
commit0bcc497664baaecb2e8a9873d61201ddbfddf3cc (patch)
tree00079e6d716b452daf2a4818a17153f2b5d5c85f
parent2d423a1f105f92726b09f7addd46b2c6e43b3989 (diff)
2007-03-24 Thomas Schwinge <tschwinge@gnu.org>
* device/kmsg.h: Include <sys/types.h>, <device/device_types.h> and <device/io_req.h>.
-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);