summaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r--include/linux/tcp.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 4acc22cae..36fe49b53 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -17,7 +17,6 @@
#ifndef _LINUX_TCP_H
#define _LINUX_TCP_H
-#include <asm/types.h>
#define HEADER_SIZE 64 /* maximum header size */
@@ -27,7 +26,7 @@ struct tcphdr {
u16 dest;
u32 seq;
u32 ack_seq;
-#if defined(__i386__)
+#if defined(__i386__) || defined(__MIPSEL__)
u16 res1:4,
doff:4,
fin:1,
@@ -37,7 +36,7 @@ struct tcphdr {
ack:1,
urg:1,
res2:2;
-#elif defined(__mc68000__)
+#elif defined(__mc68000__) || defined(__MIPSEB__)
u16 res2:2,
urg:1,
ack:1,