summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@kernel.crashing.org>2005-06-14 00:57:10 +0400
committerDavid S. Miller <davem@davemloft.net>2005-06-14 00:57:10 +0400
commit03722adce90a248d0bea77d390decbd05991e2d2 (patch)
treedb63362ac8061e61914029974039264fcbee4d63 /include
parentc0105338eb4e61e537ca34ae06921177cb6efcf0 (diff)
downloadlinux-03722adce90a248d0bea77d390decbd05991e2d2.tar.xz
[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')
-rw-r--r--include/linux/if_tr.h2
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 @@
#ifndef _LINUX_IF_TR_H
#define _LINUX_IF_TR_H
+#include <asm/byteorder.h> /* For __be16 */
+
/* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble
and FCS/CRC (frame check sequence). */
#define TR_ALEN 6 /* Octets in one token-ring addr */