diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-04 11:22:58 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-07-04 11:25:07 +0930 |
commit | e6dc0418bcb96e3cccb80571f35934ed72e9c99a (patch) | |
tree | 18c261f3b26dae4d07f560c6bf712b130ee2f5ce /lib/debugobjects.c | |
parent | 9b9cd8024a2882e896c65222aa421d461354e3f2 (diff) | |
download | op-kernel-dev-e6dc0418bcb96e3cccb80571f35934ed72e9c99a.zip op-kernel-dev-e6dc0418bcb96e3cccb80571f35934ed72e9c99a.tar.gz |
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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions