Ignore:
Timestamp:
05/10/06 09:57:52 (7 years ago)
Author:
spa1
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
  • trunk/lib/libtrace.h.in

    r781 r795  
    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.