mirror of
https://github.com/emqx/neuron.git
synced 2026-10-23 10:22:32 +08:00
fix compile fail by gcc5
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <net/ethernet.h>
|
||||
#include <net/if.h>
|
||||
#include <netpacket/packet.h>
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user