Package: nload
Version: 0.6.0-3.1
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

your package FTBFS on GNU/kFreeBSD due to a missing <sys/time.h>
include. The attached patch looks like sufficient to get nload built.

Thanks for considering.

Mraw,
KiBi.
diff -u nload-0.6.0/src/proc.cpp nload-0.6.0/src/proc.cpp
--- nload-0.6.0/src/proc.cpp
+++ nload-0.6.0/src/proc.cpp
@@ -33,7 +33,7 @@
 #include <net/if.h>
 #include <unistd.h>
 
-#ifdef HAVE_LINUX
+#if defined(HAVE_LINUX) || defined(__GLIBC__)
 	#include <sys/time.h>
 	#include <string>
 	using std::string;

Reply via email to