Ignore:
Timestamp:
04/27/06 22:13:18 (15 years ago)
Author:
Matt Brown <mattb@…>
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:
2ba89b7
Parents:
1f21c79
Message:

WIN32 portability fixes for the test code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test-convert.c

    r2d96bf2 r8f851f3  
    2828 *
    2929 */
    30 
     30#ifndef WIN32
     31#  include <sys/time.h>
     32#  include <netinet/in.h>
     33#  include <netinet/in_systm.h>
     34#  include <netinet/tcp.h>
     35#  include <netinet/ip.h>
     36#  include <netinet/ip_icmp.h>
     37#  include <arpa/inet.h>
     38#  include <sys/socket.h>
     39#endif
    3140
    3241#include <stdio.h>
     
    3443#include <assert.h>
    3544#include <string.h>
    36 #include <sys/time.h>
    3745#include <sys/types.h>
    3846#include <time.h>
     47#include <string.h>
    3948
    40 #include <netinet/in.h>
    41 #include <netinet/in_systm.h>
    42 #include <netinet/tcp.h>
    43 #include <netinet/ip.h>
    44 #include <netinet/ip_icmp.h>
    45 #include <arpa/inet.h>
    46 #include <sys/socket.h>
    47 #include <string.h>
    4849#include "dagformat.h"
    4950#include "libtrace.h"
Note: See TracChangeset for help on using the changeset viewer.