Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
iproute2-doc
use-sysconf-_SC_CLK_TCK-if-HZ-undefined.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use-sysconf-_SC_CLK_TCK-if-HZ-undefined.patch of Package iproute2-doc
From: Michal Kubecek <mkubecek@suse.cz> Date: Fri, 15 Jan 2016 07:30:15 +0100 Subject: use sysconf(_SC_CLK_TCK) if HZ undefined Patch-mainline: No --- lib/utils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/utils.c b/lib/utils.c index fa35f4d04406..f47606a8dc27 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -37,6 +37,10 @@ int timestamp_short = 0; +#ifndef HZ +#define HZ sysconf(_SC_CLK_TCK) +#endif + int get_integer(int *val, const char *arg, int base) { long res; -- 2.7.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor