packages/net/dsniff/patches/010-clk-tck-fix.patch
mb 742074cfb0 dsniff: uClibc-0.9.31 fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 22:45:51 +00:00

16 lines
373 B
Diff

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;