Changeset 41b53c2 for tools/tracesplit


Ignore:
Timestamp:
11/03/05 17:17:41 (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:
fe3d755
Parents:
117e83b
Message:

2.0.25

Fixes for builds under openbsd:

  • pcap uses a struct bpf_filter, not struct timeval. fixed format_pcap to solve this
  • #includes in libpacketdump - libpacketdump still not working properly
  • rijndael.c and .h conflicted with a system function called 'encrypt' - renamed encrypt and decrypt to r_* within rijndael*
  • UINT64_MAX not defined under freebsd
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracesplit/tracesplit.c

    r5d022cd r41b53c2  
    22#include <stdio.h>
    33#include <stdlib.h>
    4 #include <inttypes.h>
     4#ifdef HAVE_INTTYPES_H
     5#  include <inttypes.h>
     6#endif
    57#include <stdbool.h>
    68#include <getopt.h>
    79#include <string.h>
     10
     11#ifndef UINT64_MAX
     12# if __WORDSIZE == 64
     13#  define UINT64_MAX    18446744073709551615UL
     14# else
     15#  define UINT64_MAX    18446744073709551615ULL
     16# endif
     17#endif
    818
    919char *strdupcat(char *str,char *app)
Note: See TracChangeset for help on using the changeset viewer.