summaryrefslogtreecommitdiff
path: root/openwrt/package/dsniff/patches/time_h.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-03-03 01:03:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-03-03 01:03:38 +0000
commit69d83e2f2091ab92845c36ef4cd624d222645667 (patch)
tree2dec2ec6f479994b769de2dd991798db4e9bb19d /openwrt/package/dsniff/patches/time_h.patch
parent61d956fdc3f07d06ffa37590c69d53a5f3394190 (diff)
downloadmtk-20170518-69d83e2f2091ab92845c36ef4cd624d222645667.zip
mtk-20170518-69d83e2f2091ab92845c36ef4cd624d222645667.tar.gz
mtk-20170518-69d83e2f2091ab92845c36ef4cd624d222645667.tar.bz2
update dsniff to 2.4b1 and fix some compile issues
SVN-Revision: 3298
Diffstat (limited to 'openwrt/package/dsniff/patches/time_h.patch')
-rw-r--r--openwrt/package/dsniff/patches/time_h.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/openwrt/package/dsniff/patches/time_h.patch b/openwrt/package/dsniff/patches/time_h.patch
new file mode 100644
index 0000000..280b8c1
--- /dev/null
+++ b/openwrt/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>