summaryrefslogtreecommitdiff
path: root/slirp/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/tcp.h')
-rw-r--r--slirp/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/tcp.h b/slirp/tcp.h
index c65ed43423..c7e3457b7a 100644
--- a/slirp/tcp.h
+++ b/slirp/tcp.h
@@ -50,7 +50,7 @@ struct tcphdr {
u_int16_t th_dport; /* destination port */
tcp_seq th_seq; /* sequence number */
tcp_seq th_ack; /* acknowledgement number */
-#ifdef WORDS_BIGENDIAN
+#ifdef HOST_WORDS_BIGENDIAN
u_int th_off:4, /* data offset */
th_x2:4; /* (unused) */
#else