Changeset 23c13e8


Ignore:
Timestamp:
03/24/05 14:58:01 (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:
05e83dc
Parents:
9075d49
Message:

change use of stdint.h for inttypes.h

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • configure.in

    rea161ea r23c13e8  
    2020AC_HEADER_STDC
    2121dnl AC_CHECK_HEADERS(errno.h stdlib.h stdio.h assert.h string.h netinet/in.h assert.h errno.h fcntl.h net/ethernet.h netdb.h pcap.h stdio.h stdlib.h string.h sys/stat.h sys/types.h sys/socket.h sys/un.h unistd.h time.h sys/ioctl.h net/bpf.h pcap.h zlib.h pcap-bpf.h)
    22 AC_CHECK_HEADERS(pcap.h pcap-bpf.h net/bpf.h zlib.h sys/limits.h stddef.h stdint.h limits.h dagapi.h )
     22AC_CHECK_HEADERS(pcap.h pcap-bpf.h net/bpf.h zlib.h sys/limits.h stddef.h inttypes.h limits.h dagapi.h )
    2323       
    2424# Checking for the right bpf header to include
  • lib/fifo.c

    rb1a0f24 r23c13e8  
    4040#include <sys/types.h>
    4141
    42 #ifdef HAVE_STDINT_H
    43 # include <stdint.h>
     42#ifdef HAVE_INTTYPES_H
     43# include <inttypes.h>
     44#else
     45# error "Can't find inttypes.h, this needs to be fixed"
    4446#endif
    4547
  • lib/trace.c

    r9075d49 r23c13e8  
    6868#include <sys/ioctl.h>
    6969
    70 #ifdef HAVE_STDINT_H
    71 #  include <stdint.h>
     70#ifdef HAVE_INTTYPES_H
     71#  include <inttypes.h>
    7272#else
    73 #  error "Can't find stdint.h - you need to replace this"
     73#  error "Can't find inttypes.h - this needs to be fixed"
    7474#endif
    7575
Note: See TracChangeset for help on using the changeset viewer.