diff options
author | risso <risso> | 2002-08-01 08:52:55 +0000 |
---|---|---|
committer | risso <risso> | 2002-08-01 08:52:55 +0000 |
commit | 3d932490b826facb568937a1290910a1265267f5 (patch) | |
tree | 65e999a8071b1f4bad5c7d437d3846b777f302db /print-ospf.c | |
parent | e5ec03a25c981b8df7f81fe6f91deb4879524065 (diff) | |
download | tcpdump-3d932490b826facb568937a1290910a1265267f5.tar.gz |
Added support for Win32, based on WinPcap.
Diffstat (limited to 'print-ospf.c')
-rw-r--r-- | print-ospf.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/print-ospf.c b/print-ospf.c index 95874cef..cd3f6542 100644 --- a/print-ospf.c +++ b/print-ospf.c @@ -23,20 +23,15 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.31 2001-06-28 04:34:51 fenner Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.32 2002-08-01 08:53:22 risso Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include <sys/param.h> -#include <sys/time.h> -#include <sys/socket.h> +#include <tcpdump-stdinc.h> -#include <netinet/in.h> - -#include <ctype.h> #include <stdio.h> #include "interface.h" @@ -78,6 +73,10 @@ static struct tok type2str[] = { static char tstr[] = " [|ospf]"; +#ifdef WIN32 +#define inline __inline +#endif /* WIN32 */ + /* Forwards */ static inline void ospf_print_seqage(u_int32_t, time_t); static inline void ospf_print_bits(const struct bits *, u_char); |