Changeset 6c05d2c


Ignore:
Timestamp:
08/09/04 20:32:35 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
d8960164
Parents:
cf86a61
Message:

added conditionals to check for different bpf.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r64ef531 r6c05d2c  
    3838 */
    3939#define _GNU_SOURCE
     40
     41#include "common.h"
    4042#include <assert.h>
    4143#include <errno.h>
     
    5860#include "fifo.h"
    5961
    60 #include <net/bpf.h>
     62#ifdef HAVE_PCAP_BPF_H
     63#  include <pcap-bpf.h>
     64#else
     65#  ifdef HAVE_NET_BPF_H
     66#    include <net/bpf.h>
     67#  endif
     68#endif
    6169
    6270#include <pcap.h>
Note: See TracChangeset for help on using the changeset viewer.