aboutsummaryrefslogtreecommitdiff
path: root/slirp/misc.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-01 19:23:51 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-01 19:23:51 +0000
commit7c829863fb83e39a77859cfc263441670d9f058a (patch)
tree98537a1a138c2b9209bff48b3eb5c220ca98a206 /slirp/misc.h
parent33189d31154c1738f0897a8f3475f1ecdaca9c78 (diff)
downloadqemu-7c829863fb83e39a77859cfc263441670d9f058a.zip
qemu-7c829863fb83e39a77859cfc263441670d9f058a.tar.gz
qemu-7c829863fb83e39a77859cfc263441670d9f058a.tar.bz2
Fix slirp compilation failure when using a newer gcc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3505 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/misc.h')
-rw-r--r--slirp/misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/slirp/misc.h b/slirp/misc.h
index eee7405..e405e38 100644
--- a/slirp/misc.h
+++ b/slirp/misc.h
@@ -63,7 +63,9 @@ struct emu_t {
struct emu_t *next;
};
+#ifndef CONFIG_QEMU
extern struct emu_t *tcpemu;
+#endif
extern int x_port, x_server, x_display;