--- a/Makefile.am
+++ b/Makefile.am
@@ -20,11 +20,11 @@
bin_PROGRAMS = upexplorer upmpdcli
upexplorer_SOURCES = upexplo/upexplo.cxx
-upexplorer_LDADD = libupnpp.la -lixml -lupnp -lexpat -lpthread
+upexplorer_LDADD = libupnpp.la -lixml -lupnp -lexpat -lpthread -lrt
#upexplorer_LDFLAGS =
upmpdcli_SOURCES = upmpd/upmpd.cxx upmpd/mpdcli.cxx upmpd/upmpdutils.cxx
-upmpdcli_LDADD = libupnpp.la -lixml -lupnp -lexpat -lmpdclient -lpthread
+upmpdcli_LDADD = libupnpp.la -lixml -lupnp -lexpat -lmpdclient -lpthread -lrt
#upmpdcli_LDFLAGS =
dist_pkgdata_DATA = upmpd/description.xml upmpd/AVTransport.xml \