X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Futils_mount.c;h=e527c258a9c1938c0072b3a137d89c60ab5c0a43;hb=ed985cb9d3d89aec3490b17e0fda3ee97908f935;hp=b8dabb1703ae109d4d3eef20738ea41d8b19eb79;hpb=b847e8ff2fd928813397466a941947c8fce66d66;p=collectd.git diff --git a/src/utils_mount.c b/src/utils_mount.c index b8dabb17..e527c258 100644 --- a/src/utils_mount.c +++ b/src/utils_mount.c @@ -24,17 +24,18 @@ # 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 */