From 26e8964b9db51e27cc6eaf5510ebc8eac8443f33 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 6 Mar 2015 13:17:20 +0100 Subject: lib/timer: use separate file for timers It seems that static builds require -lpthread for timer_* functions. It's better to keep it out of our libs (e.g. libmount) to avoid unnecessary dependence. Signed-off-by: Karel Zak --- sys-utils/flock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys-utils/flock.c') diff --git a/sys-utils/flock.c b/sys-utils/flock.c index 368ad1a9f..84f1ec486 100644 --- a/sys-utils/flock.c +++ b/sys-utils/flock.c @@ -44,6 +44,7 @@ #include "strutils.h" #include "closestream.h" #include "monotonic.h" +#include "timer.h" static void __attribute__((__noreturn__)) usage(int ex) { -- cgit v1.2.3-55-g7522