summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 22b9f54)
raw | patch | inline | side by side (parent: 22b9f54)
author | Thomas Deutschmann <whissi@gentoo.org> | |
Fri, 2 Sep 2016 12:59:46 +0000 (14:59 +0200) | ||
committer | Thomas Deutschmann <whissi@gentoo.org> | |
Fri, 2 Sep 2016 13:53:44 +0000 (15:53 +0200) |
[backport of commit 225ee7bb45152c51c1c9508b2e776cef36d2682d]
Suggested-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Gentoo-Bug: https://bugs.gentoo.org/590998
Fixes: https://github.com/collectd/collectd/issues/1877
Suggested-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Gentoo-Bug: https://bugs.gentoo.org/590998
Fixes: https://github.com/collectd/collectd/issues/1877
src/utils_mount.c | patch | blob | history |
diff --git a/src/utils_mount.c b/src/utils_mount.c
index da53b980eee91537c9aecdbfef118b835bcea8d1..37b52d683ceb4e27154c67140e8cd73111b050da 100644 (file)
--- a/src/utils_mount.c
+++ b/src/utils_mount.c
# include "config.h"
#endif
+#define _GNU_SOURCE
+
+#include "collectd.h"
+#include "utils_mount.h"
+
#if HAVE_XFS_XQM_H
-# define _GNU_SOURCE
# include <xfs/xqm.h>
#define XFS_SUPER_MAGIC_STR "XFSB"
#define XFS_SUPER_MAGIC2_STR "BSFX"
#endif
-#include "collectd.h"
-#include "utils_mount.h"
-
#include "common.h" /* sstrncpy() et alii */
#include "plugin.h" /* ERROR() macro */