Browse Source

Define ETH_PAD_SIZE after including opt.h to avoid conflict with lwipopts.h

STABLE-2_1_x
goldsimon 19 years ago
parent
commit
b462cb4575
  1. 9
      src/include/netif/etharp.h

9
src/include/netif/etharp.h

@ -35,15 +35,16 @@
#ifndef __NETIF_ETHARP_H__
#define __NETIF_ETHARP_H__
#ifndef ETH_PAD_SIZE
#define ETH_PAD_SIZE 0
#endif
#include "lwip/opt.h"
#include "lwip/pbuf.h"
#include "lwip/ip_addr.h"
#include "lwip/netif.h"
#include "lwip/ip.h"
#ifndef ETH_PAD_SIZE
#define ETH_PAD_SIZE 0
#endif
#ifdef PACK_STRUCT_USE_INCLUDES
# include "arch/bpstruct.h"
#endif

Loading…
Cancel
Save