summaryrefslogtreecommitdiffstats
path: root/net/dsniff/patches/010-clk-tck-fix.patch
blob: cc15befd9bf5c277de0cc0534d5c30e7b91d2b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: dsniff-2.4/sshow.c
===================================================================
--- dsniff-2.4.orig/sshow.c	2010-11-03 23:41:56.335999997 +0100
+++ dsniff-2.4/sshow.c	2010-11-03 23:42:10.981000001 +0100
@@ -42,6 +42,10 @@
 
 #define HISTORY_SIZE			16
 
+#ifndef CLK_TCK
+# define CLK_TCK	CLOCKS_PER_SEC
+#endif
+
 typedef struct {
 	u_int min, max;
 } range;