Package: dkopp
Severity: important
Tags: patch
Dear Maintainer,
dkopp currently FTBFS on hurd-i386. Including sys/statfs.h instead of
sys/mount.h, as it is done in the attached patch, fixes the issue.
WBR,
Cyril Roelandt.
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff --git a/dkopp-6.0.cc b/dkopp-6.0.cc
index c27c4cf..1c17331 100644
--- a/dkopp-6.0.cc
+++ b/dkopp-6.0.cc
@@ -27,7 +27,11 @@
#include <fcntl.h>
#include <dirent.h>
#include <sys/ioctl.h>
-#include <sys/mount.h>
+#ifdef __GNU__
+ #include <sys/statfs.h>
+#else
+ #include <sys/mount.h>
+#endif
#if defined __linux__ // v.5.9.3
#include <linux/cdrom.h>
#endif