summaryrefslogtreecommitdiffstats
path: root/sys-utils/flock.c
diff options
context:
space:
mode:
authorKarel Zak2015-03-06 13:17:20 +0100
committerKarel Zak2015-03-06 13:17:20 +0100
commit26e8964b9db51e27cc6eaf5510ebc8eac8443f33 (patch)
tree1adb27c7542eca3eadea4e3457f7bbab24f1b39f /sys-utils/flock.c
parentMerge branch 'logger-man-syslog-routine' of https://github.com/rgerhards/util... (diff)
downloadkernel-qcow2-util-linux-26e8964b9db51e27cc6eaf5510ebc8eac8443f33.tar.gz
kernel-qcow2-util-linux-26e8964b9db51e27cc6eaf5510ebc8eac8443f33.tar.xz
kernel-qcow2-util-linux-26e8964b9db51e27cc6eaf5510ebc8eac8443f33.zip
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 <kzak@redhat.com>
Diffstat (limited to 'sys-utils/flock.c')
-rw-r--r--sys-utils/flock.c1
1 files changed, 1 insertions, 0 deletions
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)
{