Skip to contentSkip to conversation

<linux/if_tr.h> needs <asm/byteorder.h>

PATCH New Tom Rini 1 participant 1 message Jun 13, 2005 Network drivers

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 <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.

include/linux/if_tr.h +2 -0
@@ -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 */
Signature · 2 lines
Tom Rini
http://gate.crashing.org/~trini/