Fix for nanosleep missing on Solaris
authorYves Mettier <ymettier@free.fr>
Wed, 21 Nov 2012 10:40:42 +0000 (11:40 +0100)
committerFlorian Forster <octo@collectd.org>
Fri, 30 Nov 2012 06:20:39 +0000 (07:20 +0100)
Signed-off-by: Florian Forster <octo@collectd.org>
src/Makefile.am

index d82cd89..73e2df3 100644 (file)
@@ -119,6 +119,9 @@ collectd_tg_LDADD =
 if BUILD_WITH_LIBSOCKET
 collectd_tg_LDADD += -lsocket
 endif
+if BUILD_WITH_LIBRT
+collectd_tg_LDADD += -lrt
+endif
 if BUILD_AIX
 collectd_tg_LDADD += -lm
 endif