Changeset 77285d9 for lib/libtrace.h.in


Ignore:
Timestamp:
05/10/06 09:57:52 (15 years ago)
Author:
Shane Alcock <salcock@…>
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:
3fcb8b4
Parents:
9b8c7ad
Message:

OpenBSD compatibility fixes - adding in various #defines and #includes that are needed to compile under OpenBSD
Added a replacement pcap_next_ex function for systems that aren't running pcap-0.8 or better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    re5f1431 r77285d9  
    5757
    5858#include <sys/types.h>
     59#include <sys/time.h>
     60
    5961#ifdef _MSC_VER
    6062    /* define the following from MSVC's internal types */
     
    98100#    include <netinet/in.h>
    99101#    include <stdbool.h>
     102#    include <sys/types.h>
     103#    include <sys/socket.h>
    100104#endif
    101105
     
    119123#  define SIMPLE_FUNCTION
    120124#  define UNUSED
    121 #  define PACKED __declspec(align(1))
     125#  define PACKED
    122126#  define CONSTRUCTOR
    123127#endif
Note: See TracChangeset for help on using the changeset viewer.