[packages] polipo: solve a bunch of "sh: bad number" errors in init script, always...
[openwrt/svn-archive/archive.git] / net / dsniff / patches / 010-clk-tck-fix.patch
1 Index: dsniff-2.4/sshow.c
2 ===================================================================
3 --- dsniff-2.4.orig/sshow.c 2010-11-03 23:41:56.335999997 +0100
4 +++ dsniff-2.4/sshow.c 2010-11-03 23:42:10.981000001 +0100
5 @@ -42,6 +42,10 @@
6
7 #define HISTORY_SIZE 16
8
9 +#ifndef CLK_TCK
10 +# define CLK_TCK CLOCKS_PER_SEC
11 +#endif
12 +
13 typedef struct {
14 u_int min, max;
15 } range;