--- collectd-4.10.9/src/utils_mount.c~	2018-10-23 12:16:24.979393842 +0000
+++ collectd-4.10.9/src/utils_mount.c	2018-10-23 12:18:44.473984419 +0000
@@ -21,20 +21,22 @@
  *   Niki W. Waibel <niki.waibel@gmx.net>
 **/
 
+#define _GNU_SOURCE
+
 #if HAVE_CONFIG_H
 # include "config.h"
 #endif
 
 #include "common.h"
+#include "plugin.h"
+#include "utils_mount.h"
+
 #if HAVE_XFS_XQM_H
 # include <xfs/xqm.h>
 #define XFS_SUPER_MAGIC_STR "XFSB"
 #define XFS_SUPER_MAGIC2_STR "BSFX"
 #endif
 
-#include "plugin.h"
-#include "utils_mount.h"
-
 #if HAVE_GETVFSSTAT
 #  if HAVE_SYS_TYPES_H
 #    include <sys/types.h>
