From f9f7a532c010b1ce8b17abbaaa2a040d1cb88149 Mon Sep 17 00:00:00 2001 From: fengzero Date: Tue, 7 Mar 2023 07:58:20 +0000 Subject: [PATCH] fix compile fail by gcc5 --- src/connection/connection_eth.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/connection/connection_eth.c b/src/connection/connection_eth.c index 04b6e2ab..a4e841e9 100644 --- a/src/connection/connection_eth.c +++ b/src/connection/connection_eth.c @@ -25,7 +25,6 @@ #include #include -#include #include #include #include @@ -36,6 +35,10 @@ #include "utils/log.h" #include "utils/utextend.h" +#ifndef ETH_P_LLDP +#define ETH_P_LLDP 0x88CC +#endif + typedef struct neu_conn_eth_sub { uint16_t protocol; char mac[ETH_ALEN];