LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File bridge-utils-1.5-hz.diff of Package bridge-utils (Project network:utilities)

--- libbridge/libbridge_private.h
+++ libbridge/libbridge_private.h
@@ -36,6 +36,11 @@
 
 extern int br_socket_fd;
 
+#include <unistd.h>
+#ifndef HZ
+# define HZ sysconf(_SC_CLK_TCK)
+#endif
+
 static inline unsigned long __tv_to_jiffies(const struct timeval *tv)
 {
 	unsigned long long jif;