From 6897556455bd18f3e87b56636a06f8dc8a9336f8 Mon Sep 17 00:00:00 2001 From: Kyeyoon Park Date: Wed, 24 Sep 2014 23:17:29 -0700 Subject: [PATCH] common: Add definition for ETH_HLEN Signed-off-by: Kyeyoon Park --- src/utils/common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/common.h b/src/utils/common.h index 14d9ad1e9..6efe80901 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 -- 2.47.3