X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_mount.c;h=37b52d683ceb4e27154c67140e8cd73111b050da;hb=dd09c9364998ad6ef681b70f45f7a9734808cf96;hp=4ec5fb79e8bcd8bbd8e4b68334309796004f2b19;hpb=2cf10557f58144e13793a3d69ae5d4b7c8d6c305;p=collectd.git diff --git a/src/utils_mount.c b/src/utils_mount.c index 4ec5fb79..37b52d68 100644 --- a/src/utils_mount.c +++ b/src/utils_mount.c @@ -20,18 +20,25 @@ * Niki W. Waibel **/ +#if HAVE_CONFIG_H +# include "config.h" +#endif + +#define _GNU_SOURCE + #include "collectd.h" #include "utils_mount.h" -#include "common.h" /* sstrncpy() et alii */ -#include "plugin.h" /* ERROR() macro */ - #if HAVE_XFS_XQM_H # include #define XFS_SUPER_MAGIC_STR "XFSB" #define XFS_SUPER_MAGIC2_STR "BSFX" #endif +#include "common.h" /* sstrncpy() et alii */ +#include "plugin.h" /* ERROR() macro */ + + #if HAVE_GETVFSSTAT # if HAVE_SYS_TYPES_H # include