summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet/tcp_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/netinet/tcp_subr.c')
-rw-r--r--cpukit/libnetworking/netinet/tcp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/netinet/tcp_subr.c b/cpukit/libnetworking/netinet/tcp_subr.c
index 5802ccc465..e879d855be 100644
--- a/cpukit/libnetworking/netinet/tcp_subr.c
+++ b/cpukit/libnetworking/netinet/tcp_subr.c
@@ -399,7 +399,7 @@ tcp_close(tp)
t = tp->seg_next;
while (t != (struct tcpiphdr *)tp) {
t = (struct tcpiphdr *)t->ti_next;
-#if (defined(__GNUC__) && defined(__arm__))
+#if (defined(__GNUC__) && (defined(__arm__) || defined(__mips__)))
LD32_UNALGN((struct tcpiphdr *)t->ti_prev,m);
#else
m = REASS_MBUF((struct tcpiphdr *)t->ti_prev);