summaryrefslogtreecommitdiff
path: root/tools/virtio/uapi
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-03-18 06:52:19 +0400
committerRusty Russell <rusty@rustcorp.com.au>2013-03-20 07:30:42 +0400
commit61d0b5a4b2777dcf5daef245e212b3c1fa8091ca (patch)
tree647f8fd729d5400341e5701d0d1eb668aad97f89 /tools/virtio/uapi
parenta9a0fef779074838230e04a322fd2bdc921f4f4f (diff)
downloadlinux-61d0b5a4b2777dcf5daef245e212b3c1fa8091ca.tar.xz
tools/virtio: separate headers more.
This makes them a bit more like the kernel headers, so we can include more real kernel headers in our tests. In addition this means that we don't break tools/virtio with the next patch. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools/virtio/uapi')
-rw-r--r--tools/virtio/uapi/linux/uio.h1
-rw-r--r--tools/virtio/uapi/linux/virtio_config.h1
-rw-r--r--tools/virtio/uapi/linux/virtio_ring.h4
3 files changed, 6 insertions, 0 deletions
diff --git a/tools/virtio/uapi/linux/uio.h b/tools/virtio/uapi/linux/uio.h
new file mode 100644
index 000000000000..7230e9002207
--- /dev/null
+++ b/tools/virtio/uapi/linux/uio.h
@@ -0,0 +1 @@
+#include <sys/uio.h>
diff --git a/tools/virtio/uapi/linux/virtio_config.h b/tools/virtio/uapi/linux/virtio_config.h
new file mode 100644
index 000000000000..4c86675f0159
--- /dev/null
+++ b/tools/virtio/uapi/linux/virtio_config.h
@@ -0,0 +1 @@
+#include "../../../../include/uapi/linux/virtio_config.h"
diff --git a/tools/virtio/uapi/linux/virtio_ring.h b/tools/virtio/uapi/linux/virtio_ring.h
new file mode 100644
index 000000000000..4d99c78234d3
--- /dev/null
+++ b/tools/virtio/uapi/linux/virtio_ring.h
@@ -0,0 +1,4 @@
+#ifndef VIRTIO_RING_H
+#define VIRTIO_RING_H
+#include "../../../../include/uapi/linux/virtio_ring.h"
+#endif /* VIRTIO_RING_H */