Changeset b721834


Ignore:
Timestamp:
05/06/06 01:15:43 (15 years ago)
Author:
Matt Brown <mattb@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
d4c8b343
Parents:
bc4c11e
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    re5f1431 rb721834  
    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.