Changeset 5361eae for lib/libtrace_int.h


Ignore:
Timestamp:
03/26/07 16:04:03 (14 years ago)
Author:
Perry Lorier <perry@…>
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:
1f47cdd
Parents:
79a7ac1
Message:

Compile correctly on MacOS
(Prefer net/bpf.h over pcap-bpf.h)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    rf0c639b r5361eae  
    6565#include "rt_protocol.h"
    6666       
     67#ifdef HAVE_NET_BPF_H
     68#    include <net/bpf.h>
     69#    define HAVE_BPF 1
     70#else
    6771#ifdef HAVE_PCAP_BPF_H
    6872#  include <pcap-bpf.h>
    6973#  define HAVE_BPF 1
    70 #else
    71 #  ifdef HAVE_NET_BPF_H
    72 #    include <net/bpf.h>
    73 #    define HAVE_BPF 1
    74 #  endif
     74#endif
    7575#endif
    7676
Note: See TracChangeset for help on using the changeset viewer.