lguest: fix example launcher compile after moved asm-x86 dir.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 31 Oct 2008 16:24:25 +0000 (11:24 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 31 Oct 2008 00:24:27 +0000 (11:24 +1100)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Documentation/lguest/Makefile
Documentation/lguest/lguest.c

index bac037e..725eef8 100644 (file)
@@ -1,5 +1,5 @@
 # This creates the demonstration utility "lguest" which runs a Linux guest.
-CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include
+CFLAGS:=-Wall -Wmissing-declarations -Wmissing-prototypes -O3 -I../../include -I../../arch/x86/include
 LDLIBS:=-lz
 
 all: lguest
index da86fd5..8045206 100644 (file)
@@ -44,7 +44,7 @@
 #include "linux/virtio_console.h"
 #include "linux/virtio_rng.h"
 #include "linux/virtio_ring.h"
-#include "asm-x86/bootparam.h"
+#include "asm/bootparam.h"
 /*L:110 We can ignore the 39 include files we need for this program, but I do
  * want to draw attention to the use of kernel-style types.
  *