Changeset e5d3718 for lib/trace.c


Ignore:
Timestamp:
08/12/04 15:08:30 (17 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:
4a2f534
Parents:
b296c02
Message:

checking for, and including, limits.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r6e60e50 re5d3718  
    5050#include <sys/stat.h>
    5151#include <sys/types.h>
     52
     53#ifdef HAVE_LIMITS_H
     54#  include <limits.h>
     55#endif
     56
    5257#ifdef HAVE_SYS_LIMITS_H
    53 // For BSD, apparently
    5458#  include <sys/limits.h>
    5559#endif
     60
    5661#include <sys/socket.h>
    5762#include <sys/un.h>
     
    6873#include <stddef.h>
    6974#else
    70 # error "Can't find stddef.h - do you define ptrdiff_t elsewhere"
     75# error "Can't find stddef.h - do you define ptrdiff_t elsewhere?"
    7176#endif
    7277
Note: See TracChangeset for help on using the changeset viewer.