Changeset 1f3696b for lib/trace.c


Ignore:
Timestamp:
08/11/04 14:44:20 (17 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:
ffe76f8
Parents:
e619d90
Message:

Slight changes to code, basically #includes and #defines, and it should build cleanly on freebsd now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r60fc8aa r1f3696b  
    4343#include <errno.h>
    4444#include <fcntl.h>
    45 #include <net/ethernet.h>
    4645#include <netdb.h>
    4746#include <pcap.h>
     
    5150#include <sys/stat.h>
    5251#include <sys/types.h>
     52#ifdef HAVE_SYS_LIMITS_H
     53// For BSD, apparently
     54#  include <sys/limits.h>
     55#endif
    5356#include <sys/socket.h>
    5457#include <sys/un.h>
    5558#include <unistd.h>
     59#include <net/ethernet.h>
    5660#include <time.h>
    5761#include <sys/ioctl.h>
Note: See TracChangeset for help on using the changeset viewer.