dsniff (2.4b1+debian-21.1) 09_sysconf_clocks.patch

Summary

 sshow.c |    2 ++
 1 file changed, 2 insertions(+)

    
download this patch

Patch contents

Author: <kees@ubuntu.com>
Description: Fix FTBFS: ./sshow.c:226: error: 'CLK_TCK' undeclared.
--- a/sshow.c	2011-06-19 17:15:01.099999376 -0500
+++ b/sshow.c	2011-06-19 17:15:16.175999374 -0500
@@ -217,6 +217,7 @@
 {
 	clock_t delay;
 	int payload;
+    long CLK_TCK= sysconf(_SC_CLK_TCK);
 
 	delay = add_history(session, 0, cipher_size, plain_range);
 
@@ -265,6 +266,7 @@
 	clock_t delay;
 	int skip;
 	range string_range;
+    long CLK_TCK= sysconf(_SC_CLK_TCK);
 	
 	delay = add_history(session, 1, cipher_size, plain_range);