X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_mount.c;h=37b52d683ceb4e27154c67140e8cd73111b050da;hb=d4cfba5e74bb683e95c8423b03fafa248bda1eb5;hp=da53b980eee91537c9aecdbfef118b835bcea8d1;hpb=22b9f5441f0bb294e16aa27169d02eb69e32d556;p=collectd.git diff --git a/src/utils_mount.c b/src/utils_mount.c index da53b980..37b52d68 100644 --- a/src/utils_mount.c +++ b/src/utils_mount.c @@ -24,16 +24,17 @@ # include "config.h" #endif +#define _GNU_SOURCE + +#include "collectd.h" +#include "utils_mount.h" + #if HAVE_XFS_XQM_H -# define _GNU_SOURCE # include #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 */