Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
iproute2
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
From: Michal Kubecek <mkubecek@suse.cz> Date: Thu, 5 Dec 2013 13:17:35 +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 4e9c719..ce91676 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -32,6 +32,10 @@ #include "utils.h" +#ifndef HZ +#define HZ sysconf(_SC_CLK_TCK) +#endif + int get_integer(int *val, const char *arg, int base) { long res; -- 1.8.1.4
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