Deleted Added
full compact
tcpdump-stdinc.h (147904) tcpdump-stdinc.h (162021)
1/*
2 * Copyright (c) 2002 - 2003
3 * NetGroup, Politecnico di Torino (Italy)
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 15 unchanged lines hidden (view full) ---

24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 *
31 *
1/*
2 * Copyright (c) 2002 - 2003
3 * NetGroup, Politecnico di Torino (Italy)
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 15 unchanged lines hidden (view full) ---

24 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 *
31 *
32 * @(#) $Header: /tcpdump/master/tcpdump/tcpdump-stdinc.h,v 1.12 2005/03/27 01:35:45 guy Exp $ (LBL)
32 * @(#) $Header: /tcpdump/master/tcpdump/tcpdump-stdinc.h,v 1.12.2.4 2005/07/09 21:19:45 risso Exp $ (LBL)
33 *
33 *
34 * $FreeBSD: head/contrib/tcpdump/tcpdump-stdinc.h 147904 2005-07-11 04:14:02Z sam $
34 * $FreeBSD: head/contrib/tcpdump/tcpdump-stdinc.h 162021 2006-09-04 20:25:04Z sam $
35 */
36
37/*
38 * Include the appropriate OS header files on Windows and various flavors
39 * of UNIX, and also define some additional items and include various
40 * non-OS header files on Windows, and; this isolates most of the platform
41 * differences to this one file.
42 */
43
44#ifndef tcpdump_stdinc_h
45#define tcpdump_stdinc_h
46
47#ifdef WIN32
48
49#include <stdio.h>
50#include <winsock2.h>
35 */
36
37/*
38 * Include the appropriate OS header files on Windows and various flavors
39 * of UNIX, and also define some additional items and include various
40 * non-OS header files on Windows, and; this isolates most of the platform
41 * differences to this one file.
42 */
43
44#ifndef tcpdump_stdinc_h
45#define tcpdump_stdinc_h
46
47#ifdef WIN32
48
49#include <stdio.h>
50#include <winsock2.h>
51#include <Ws2tcpip.h>
51#include "bittypes.h"
52#include <ctype.h>
53#include <time.h>
54#include <io.h>
52#include "bittypes.h"
53#include <ctype.h>
54#include <time.h>
55#include <io.h>
55#include "IP6_misc.h"
56#include <fcntl.h>
57#include <sys/types.h>
58#include <net/netdb.h> /* in wpcap's Win32/include */
59
60#if !defined(__MINGW32__) && !defined(__WATCOMC__)
61#undef toascii
62#define isascii __isascii
63#define toascii __toascii

--- 89 unchanged lines hidden ---
56#include <fcntl.h>
57#include <sys/types.h>
58#include <net/netdb.h> /* in wpcap's Win32/include */
59
60#if !defined(__MINGW32__) && !defined(__WATCOMC__)
61#undef toascii
62#define isascii __isascii
63#define toascii __toascii

--- 89 unchanged lines hidden ---