diff options
author | Tom Rini <trini@kernel.crashing.org> | 2005-06-13 16:57:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-13 16:57:10 -0400 |
commit | 03722adce90a248d0bea77d390decbd05991e2d2 (patch) | |
tree | db63362ac8061e61914029974039264fcbee4d63 /include/linux/if_tr.h | |
parent | c0105338eb4e61e537ca34ae06921177cb6efcf0 (diff) |
[NET]: linux/if_tr.h needs asm/byteorder.h
<linux/if_tr.h> uses __be16, but does not directly include
<asm/byteorder.h>. Add this in, so that dhcp/net-tools token ring code
can compile again.
Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_tr.h')
-rw-r--r-- | include/linux/if_tr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/if_tr.h b/include/linux/if_tr.h index 6688b414c529..3fba9e2f5427 100644 --- a/include/linux/if_tr.h +++ b/include/linux/if_tr.h | |||
@@ -19,6 +19,8 @@ | |||
19 | #ifndef _LINUX_IF_TR_H | 19 | #ifndef _LINUX_IF_TR_H |
20 | #define _LINUX_IF_TR_H | 20 | #define _LINUX_IF_TR_H |
21 | 21 | ||
22 | #include <asm/byteorder.h> /* For __be16 */ | ||
23 | |||
22 | /* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble | 24 | /* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble |
23 | and FCS/CRC (frame check sequence). */ | 25 | and FCS/CRC (frame check sequence). */ |
24 | #define TR_ALEN 6 /* Octets in one token-ring addr */ | 26 | #define TR_ALEN 6 /* Octets in one token-ring addr */ |