Port dsniff to -ng
[openwrt/svn-archive/archive.git] / net / dsniff / patches / time_h.patch
1 diff -urNad --exclude=CVS --exclude=.svn dsniff-2.4b1/msgsnarf.c dsniff-2.4b1/msgsnarf.c
2 --- dsniff-2.4b1/msgsnarf.c 2001-03-15 08:33:04.000000000 +0000
3 +++ dsniff-2.4b1/msgsnarf.c 2005-07-11 20:15:50.000000000 +0000
4 @@ -23,6 +23,7 @@
5 #include <nids.h>
6 #include <pcap.h>
7 #include <pcaputil.h>
8 +#include <time.h>
9
10 #include "buf.h"
11 #include "decode.h"
12 diff -urNad --exclude=CVS --exclude=.svn dsniff-2.4b1/sshow.c dsniff-2.4b1/sshow.c
13 --- dsniff-2.4b1/sshow.c 2005-07-11 20:14:19.000000000 +0000
14 +++ dsniff-2.4b1/sshow.c 2005-07-11 20:15:26.000000000 +0000
15 @@ -15,6 +15,7 @@
16
17 #include <sys/types.h>
18 #include <sys/times.h>
19 +#include <time.h>
20
21 #include <netinet/in_systm.h>
22 #include <netinet/in.h>