diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-03-03 01:03:38 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-03-03 01:03:38 +0000 |
commit | 7767a2806b19856ae31c703e16f1512531d8ba64 (patch) | |
tree | 7dd2617ecb054f1bb81e6fd84457b83b8be56d82 /package/dsniff/patches/time_h.patch | |
parent | e4818cdf1bc9fd90f44f1507cc7d8cd851d15da1 (diff) |
update dsniff to 2.4b1 and fix some compile issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3298 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dsniff/patches/time_h.patch')
-rw-r--r-- | package/dsniff/patches/time_h.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/dsniff/patches/time_h.patch b/package/dsniff/patches/time_h.patch new file mode 100644 index 000000000..280b8c1e8 --- /dev/null +++ b/package/dsniff/patches/time_h.patch @@ -0,0 +1,22 @@ +diff -urNad --exclude=CVS --exclude=.svn dsniff-2.4b1/msgsnarf.c dsniff-2.4b1/msgsnarf.c +--- dsniff-2.4b1/msgsnarf.c 2001-03-15 08:33:04.000000000 +0000 ++++ dsniff-2.4b1/msgsnarf.c 2005-07-11 20:15:50.000000000 +0000 +@@ -23,6 +23,7 @@ + #include <nids.h> + #include <pcap.h> + #include <pcaputil.h> ++#include <time.h> + + #include "buf.h" + #include "decode.h" +diff -urNad --exclude=CVS --exclude=.svn dsniff-2.4b1/sshow.c dsniff-2.4b1/sshow.c +--- dsniff-2.4b1/sshow.c 2005-07-11 20:14:19.000000000 +0000 ++++ dsniff-2.4b1/sshow.c 2005-07-11 20:15:26.000000000 +0000 +@@ -15,6 +15,7 @@ + + #include <sys/types.h> + #include <sys/times.h> ++#include <time.h> + + #include <netinet/in_systm.h> + #include <netinet/in.h> |