Changeset 20482800


Ignore:
Timestamp:
11/30/04 13:42:06 (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:
47801f2
Parents:
22d466c
Message:

freebsd fixes

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • config.h

    r26a2928 r20482800  
    1515
    1616/* Define to 1 if you have the <libxml2/libxml/parser.h> header file. */
    17 #define HAVE_LIBXML2_LIBXML_PARSER_H 1
     17/* #undef HAVE_LIBXML2_LIBXML_PARSER_H */
    1818
    1919/* Define to 1 if you have the <libxml/parser.h> header file. */
     
    6060
    6161/* Define to 1 if you have the <sys/limits.h> header file. */
    62 /* #undef HAVE_SYS_LIMITS_H */
     62#define HAVE_SYS_LIMITS_H 1
    6363
    6464/* Define to 1 if you have the <sys/stat.h> header file. */
     
    106106
    107107/* Number of bits in a file offset, on hosts where this is settable. */
    108 #define _FILE_OFFSET_BITS 64
     108/* #undef _FILE_OFFSET_BITS */
    109109
    110110/* Define for large files, on AIX-style hosts. */
  • examples/rate/Makefile

    r59c31da r20482800  
    99LDLIBS = $(libdir) -ltrace
    1010
    11 BINS = rate rate-dir raw-rate
     11BINS = rate rate-dir
    1212.PHONY: all clean distclean install depend
    1313
  • examples/rate/rate-dir.c

    r516b30e r20482800  
    3333#include <assert.h>
    3434#include <string.h>
     35#include <sys/types.h>
    3536#include <netinet/in.h>
     37#include <netinet/in_systm.h>
    3638#include <netinet/ip.h>
    3739#include <signal.h>
  • examples/rate/rate.c

    r5e9d62d r20482800  
    3333#include <assert.h>
    3434#include <string.h>
     35#include <sys/types.h>
    3536#include <netinet/in.h>
     37#include <netinet/in_systm.h>
    3638#include <netinet/ip.h>
    3739#include <signal.h>
     
    3941#include <unistd.h>
    4042#include <sys/time.h>
    41 #include <sys/types.h>
    4243#include <stdint.h>
    4344#include "libtrace.h"
  • examples/sample/sample.c

    r53de8c0 r20482800  
    3939#include <string.h>
    4040#include <sys/time.h>
     41#include <sys/types.h>
    4142#include <time.h>
    4243
    4344#include <netinet/in.h>
     45#include <netinet/in_systm.h>
    4446#include <netinet/tcp.h>
    4547#include <netinet/ip.h>
  • lib/trace.c

    r29262bb r20482800  
    543543                        case SOCKET:
    544544                        case RT:
     545
     546#ifndef MSG_NOSIGNAL
     547#define MSG_NOSIGNAL 0
     548#endif
    545549                                // read from the network
    546550                                if ((numbytes=recv(libtrace->input.fd,
Note: See TracChangeset for help on using the changeset viewer.