Changeset 77285d9 for lib/fifo.c


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/fifo.c

    r431548c5 r77285d9  
    3939
    4040#include "fifo.h"
     41
     42#ifndef PRIu64
     43        #define PRIu64 "llu"
     44#endif
     45
     46#ifndef PRIi64
     47        #define PRIi64 "lli"
     48#endif
    4149
    4250enum which_t { FIFO_PTR_IN, FIFO_PTR_OUT, FIFO_PTR_ACK };
Note: See TracChangeset for help on using the changeset viewer.