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)
commit3e0e5f2640d3b8f8f958e72f1577f1e323e11da6
treeab68444e1004f8beb464ae7ad361a755284e15ae
parent93153077107ecfbf35a3412f6220521e8d8c14ba
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