summaryrefslogtreecommitdiffstats
path: root/tools/lguest/Makefile
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-07-04 11:22:58 +0930
committerRusty Russell <rusty@rustcorp.com.au>2013-07-04 11:25:07 +0930
commite6dc0418bcb96e3cccb80571f35934ed72e9c99a (patch)
tree18c261f3b26dae4d07f560c6bf712b130ee2f5ce /tools/lguest/Makefile
parent9b9cd8024a2882e896c65222aa421d461354e3f2 (diff)
downloadblackbird-op-linux-e6dc0418bcb96e3cccb80571f35934ed72e9c99a.tar.gz
blackbird-op-linux-e6dc0418bcb96e3cccb80571f35934ed72e9c99a.zip
lguest: fix example launcher compilation for broken glibc headers.
Somehow a naked u16 slipped into the glibc headers on my Ubuntu machine (i386 2.17-0ubuntu5), breaking compile: In file included from lguest.c:46:0: /usr/include/linux/virtio_net.h:188:2: error: unknown type name ‘u16’ We use the kernel-style types anyway, just define them before the includes. Also remove the advice on adding missing headers: that no longer works. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools/lguest/Makefile')
-rw-r--r--tools/lguest/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lguest/Makefile b/tools/lguest/Makefile
index 0ac34206f7a7..97bca4871ea3 100644
--- a/tools/lguest/Makefile
+++ b/tools/lguest/Makefile
@@ -1,5 +1,4 @@
# This creates the demonstration utility "lguest" which runs a Linux guest.
-# Missing headers? Add "-I../../../include -I../../../arch/x86/include"
CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE
all: lguest
OpenPOWER on IntegriCloud