diff --git a/maestro/Makefile.am b/maestro/Makefile.am index 7add43375c055f38f1baa7d353cddf1763e2d90f..dee653109e68b5523e78c4a9afae523704ad9644 100644 --- a/maestro/Makefile.am +++ b/maestro/Makefile.am @@ -79,7 +79,7 @@ libmaestro_core_la_SOURCES = \ cdo_sel_parse.c cdo_sel_parse.h: cdo_sel_parse.peg $(top_builddir)/deps/packcc/packcc -o cdo_sel_parse $< -libmaestro_core_la_LIBADD=$(top_builddir)/deps/libcyaml/libcyaml.la $(top_builddir)/deps/mamba/libmmb.la $(top_builddir)/deps/c-timestamp/libtimestamp.la +libmaestro_core_la_LIBADD=$(top_builddir)/deps/libcyaml/libcyaml.la $(top_builddir)/deps/mamba/libmmb.la $(top_builddir)/deps/c-timestamp/libtimestamp.la -lm if NUMA_ENABLED libmaestro_core_la_LIBADD+=-lnuma diff --git a/maestro/heartbeat.c b/maestro/heartbeat.c index 08541575a75ba2d90cdc6774763532b6860259b4..0d00c5008f67d13c57e4fa7d66377a3a5503cb94 100644 --- a/maestro/heartbeat.c +++ b/maestro/heartbeat.c @@ -42,6 +42,7 @@ #include <pthread.h> #include <string.h> #include <assert.h> +#include <math.h> /* simplify logging */