aboutsummaryrefslogtreecommitdiff
path: root/slirp/tcp_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/tcp_subr.c')
-rw-r--r--slirp/tcp_subr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
index 7d71270542..ba1296d4bb 100644
--- a/slirp/tcp_subr.c
+++ b/slirp/tcp_subr.c
@@ -559,7 +559,10 @@ static const struct tos_t tcptos[] = {
{0, 0, 0, 0}
};
-static struct emu_t *tcpemu = 0;
+#ifdef CONFIG_QEMU
+static
+#endif
+struct emu_t *tcpemu = 0;
/*
* Return TOS according to the above table