]> git.baikalelectronics.ru Git - kernel.git/commit
lguest: fix failure to find linux/virtio_types.h
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 04:45:11 +0000 (15:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 11 Feb 2015 06:17:37 +0000 (16:47 +1030)
commit7c5d021fe216a290f6da4c709c14aa1b5743dc3c
treeab68444e1004f8beb464ae7ad361a755284e15ae
parent619772ed3c91708629ae3db37f20877b70e7ad4d
lguest: fix failure to find linux/virtio_types.h

We want to use the local kernel headers, but -I../../include/uapi leads us into
a world of hurt.  Instead we create a dummy include/ dir with symlinks.

If we just use #include "../../include/uapi/linux/virtio_blk.h" we get:

../../include/uapi/linux/virtio_blk.h:31:32: fatal error: linux/virtio_types.h: No such file or directory
 #include <linux/virtio_types.h>

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/lguest/Makefile