aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/dsniff/01_time.h.patch
blob: 1cf570b070e406304fd82a18255e183ce4592dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Steve Kemp <skx@debian.org>
Description: Include <time.h> to fix segfault on some architectures.
Closes #315969
--- a/msgsnarf.c	2011-06-19 17:14:25.023999385 -0500
+++ b/msgsnarf.c	2011-06-19 17:14:56.475999377 -0500
@@ -23,6 +23,7 @@
 #include <nids.h>
 #include <pcap.h>
 #include <pcaputil.h>
+#include <time.h>
 
 #include "buf.h"
 #include "decode.h"
--- a/sshow.c	2011-06-19 17:14:24.843999385 -0500
+++ b/sshow.c	2011-06-19 17:14:56.475999377 -0500
@@ -15,6 +15,7 @@
 
 #include <sys/types.h>
 #include <sys/times.h>
+#include <time.h>
 
 #include <netinet/in_systm.h>
 #include <netinet/in.h>