packages/net/dsniff/patches/010-clk-tck-fix.patch

16 lines
373 B
Diff
Raw Normal View History

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;