Package: mythtvfs-fuse
Version: 0.5.2-2
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

I think you want to check whether you're using the glibc instead of just
checking whether you're on Linux before using pread/pwrite. The attached
patch fixes the FTBFS on GNU/kFreeBSD.

Thanks for considering.

Mraw,
KiBi.
--- a/mythtvfs.c
+++ b/mythtvfs.c
@@ -20,7 +20,7 @@
 
 #include <config.h>
 
-#ifdef linux
+#if defined(linux) || defined(__GLIBC__)
 /* For pread()/pwrite() */
 #define _XOPEN_SOURCE 500
 #endif

Reply via email to