diff --git a/sim_ether.c b/sim_ether.c index 624e0506..f764d662 100644 --- a/sim_ether.c +++ b/sim_ether.c @@ -904,13 +904,13 @@ const char *eth_capabilities(void) #include #include #else -struct pcap_pkthdr { - uint32 caplen; /* length of portion present */ - uint32 len; /* length this packet (off wire) */ -}; -#define PCAP_ERRBUF_SIZE 256 -typedef void * pcap_t; /* Pseudo Type to avoid compiler errors */ -#define DLT_EN10MB 1 /* Dummy Value to avoid compiler errors */ +struct pcap_pkthdr { + uint32 caplen; /* length of portion present */ + uint32 len; /* length this packet (off wire) */ +}; +#define PCAP_ERRBUF_SIZE 256 +typedef void * pcap_t; /* Pseudo Type to avoid compiler errors */ +#define DLT_EN10MB 1 /* Dummy Value to avoid compiler errors */ #endif /* HAVE_PCAP_NETWORK */ #ifdef HAVE_TAP_NETWORK