From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> Signed-off-by: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> --- lib/monotonic.c | 2 ++ lib/timer.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/monotonic.c b/lib/monotonic.c index 372cc9c..bb58e15 100644 --- a/lib/monotonic.c +++ b/lib/monotonic.c @@ -4,7 +4,9 @@ */ #include <time.h> #include <signal.h> +#ifdef HAVE_SYSINFO #include <sys/sysinfo.h> +#endif #include <sys/time.h> #include "c.h" diff --git a/lib/timer.c b/lib/timer.c index 0ad0cad..6265693 100644 --- a/lib/timer.c +++ b/lib/timer.c @@ -5,7 +5,6 @@ */ #include <time.h> #include <signal.h> -#include <sys/sysinfo.h> #include <sys/time.h> #include "c.h" -- 1.8.4.5 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html