1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Fix FTBFS on Debian GNU/kFreeBSD
Origin: vendor
Bug-Debian: http://bugs.debian.org/670808
Forwarded: no
Author: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2012-04-30
--- a/Fuse.xs
+++ b/Fuse.xs
@@ -17,7 +17,7 @@
#define FUSE_MINOR_VERSION FUSE_FOUND_MINOR_VER
#endif /* defined(__OpenBSD__) */
-#if defined(__linux__) || defined(__sun__)
+#if ( defined(__linux__) || defined(__sun__) || defined(__GNU__) || defined(__GLIBC__) )
# define STAT_SEC(st, st_xtim) ((st)->st_xtim.tv_sec)
# define STAT_NSEC(st, st_xtim) ((st)->st_xtim.tv_nsec)
#else
|