aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKyeyoon Park <kyeyoonp@qca.qualcomm.com>2014-09-25 06:17:29 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-27 23:08:29 (GMT)
commit6897556455bd18f3e87b56636a06f8dc8a9336f8 (patch)
tree56545068af5b3ca2f4446ae7135fa35dc1791d01 /src
parent7565752d4725f00b782a3be59e147946684479a3 (diff)
downloadhostap-6897556455bd18f3e87b56636a06f8dc8a9336f8.zip
hostap-6897556455bd18f3e87b56636a06f8dc8a9336f8.tar.gz
hostap-6897556455bd18f3e87b56636a06f8dc8a9336f8.tar.bz2
common: Add definition for ETH_HLEN
Signed-off-by: Kyeyoon Park <kyeyoonp@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/utils/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/common.h b/src/utils/common.h
index 14d9ad1..6efe809 100644
--- a/src/utils/common.h
+++ b/src/utils/common.h
@@ -329,6 +329,9 @@ static inline void WPA_PUT_LE64(u8 *a, u64 val)
#ifndef ETH_ALEN
#define ETH_ALEN 6
#endif
+#ifndef ETH_HLEN
+#define ETH_HLEN 14
+#endif
#ifndef IFNAMSIZ
#define IFNAMSIZ 16
#endif