mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
29 lines
611 B
Diff
29 lines
611 B
Diff
--- 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>
|