]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include: fix sys/sysinfo.h
authorRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 18 Feb 2016 02:18:38 +0000 (03:18 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Thu, 18 Feb 2016 15:54:38 +0000 (16:54 +0100)
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
lib/monotonic.c
lib/timer.c

index 372cc9c5a1f2ef0107dcfdebcb92940857e0d78a..bb58e15d7b5086437b6117c43b6a6766b1075cbb 100644 (file)
@@ -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"
index 0ad0cad782310ffc6767ea870fea103c5c431f25..62656932ad9da1826fde491630b37bb1ca31fead 100644 (file)
@@ -5,7 +5,6 @@
  */
 #include <time.h>
 #include <signal.h>
-#include <sys/sysinfo.h>
 #include <sys/time.h>
 
 #include "c.h"