diff options
Diffstat (limited to 'include/uapi/linux/dn.h')
-rw-r--r-- | include/uapi/linux/dn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/dn.h b/include/uapi/linux/dn.h index 9c50445462d9..5fbdd3d49eba 100644 --- a/include/uapi/linux/dn.h +++ b/include/uapi/linux/dn.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define _LINUX_DN_H | 2 | #define _LINUX_DN_H |
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | #include <linux/if_ether.h> | ||
5 | 6 | ||
6 | /* | 7 | /* |
7 | 8 | ||
@@ -120,7 +121,7 @@ struct linkinfo_dn { | |||
120 | * Ethernet address format (for DECnet) | 121 | * Ethernet address format (for DECnet) |
121 | */ | 122 | */ |
122 | union etheraddress { | 123 | union etheraddress { |
123 | __u8 dne_addr[6]; /* Full ethernet address */ | 124 | __u8 dne_addr[ETH_ALEN]; /* Full ethernet address */ |
124 | struct { | 125 | struct { |
125 | __u8 dne_hiord[4]; /* DECnet HIORD prefix */ | 126 | __u8 dne_hiord[4]; /* DECnet HIORD prefix */ |
126 | __u8 dne_nodeaddr[2]; /* DECnet node address */ | 127 | __u8 dne_nodeaddr[2]; /* DECnet node address */ |