diff --git a/src/utils/common.h b/src/utils/common.h index 0b9cc3d88..6f0de699d 100644 --- a/src/utils/common.h +++ b/src/utils/common.h @@ -313,6 +313,9 @@ static inline void WPA_PUT_LE64(u8 *a, u64 val) #ifndef ETH_P_ALL #define ETH_P_ALL 0x0003 #endif +#ifndef ETH_P_IP +#define ETH_P_IP 0x0800 +#endif #ifndef ETH_P_80211_ENCAP #define ETH_P_80211_ENCAP 0x890d /* TDLS comes under this category */ #endif diff --git a/wlantest/rx_data.c b/wlantest/rx_data.c index 4c55e7d49..b53542fac 100644 --- a/wlantest/rx_data.c +++ b/wlantest/rx_data.c @@ -7,7 +7,6 @@ */ #include "utils/includes.h" -#include #include "utils/common.h" #include "common/defs.h"