Changeset 786


Ignore:
Timestamp:
05/06/06 01:15:43 (7 years ago)
Author:
mglb1
Message:

Define ARPHRD_ETHER ourselves as Windows doesn't appear to provide it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/linktypes.c

    r781 r786  
    99#include "libtrace_int.h" 
    1010#include <stdlib.h> 
     11#include <string.h> 
     12 
     13#ifndef WIN32 
    1114#include <net/if_arp.h> 
    12 #include <string.h> 
     15#else 
     16#define ARPHRD_ETHER    1               /* Ethernet 10/100Mbps.  */ 
     17#endif 
    1318 
    1419/* This file maps libtrace types to/from pcap DLT and erf types 
Note: See TracChangeset for help on using the changeset viewer.