X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Futils_mount.c;h=37b52d683ceb4e27154c67140e8cd73111b050da;hb=a2e870fa005e4612ed126a49fbebd8618e50da6f;hp=d303677d4e6b0f88b2153fcd85b17a5ab50b7f3a;hpb=c1219a1c9db2e8400e2ee94b87f86ccd441485d5;p=collectd.git diff --git a/src/utils_mount.c b/src/utils_mount.c index d303677d..37b52d68 100644 --- a/src/utils_mount.c +++ b/src/utils_mount.c @@ -24,16 +24,20 @@ # 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 "common.h" -#include "plugin.h" -#include "utils_mount.h" +#include "common.h" /* sstrncpy() et alii */ +#include "plugin.h" /* ERROR() macro */ + #if HAVE_GETVFSSTAT # if HAVE_SYS_TYPES_H