diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-05-19 12:33:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-05-19 12:33:27 +0000 |
commit | 841395dd16f470e3c051a0a4fff5b91efc983c30 (patch) | |
tree | 4115f6eedcddda75067130b80acaff9e51612f49 /libnetdata/libnetdata.h | |
parent | Adding upstream version 1.30.1. (diff) | |
download | netdata-841395dd16f470e3c051a0a4fff5b91efc983c30.tar.xz netdata-841395dd16f470e3c051a0a4fff5b91efc983c30.zip |
Adding upstream version 1.31.0.upstream/1.31.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libnetdata/libnetdata.h')
-rw-r--r-- | libnetdata/libnetdata.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libnetdata/libnetdata.h b/libnetdata/libnetdata.h index 212273870..77a1bbe7f 100644 --- a/libnetdata/libnetdata.h +++ b/libnetdata/libnetdata.h @@ -118,6 +118,10 @@ extern "C" { #include <sys/statfs.h> #endif +#ifdef HAVE_LINUX_MAGIC_H +#include <linux/magic.h> +#endif + #ifdef HAVE_SYS_MOUNT_H #include <sys/mount.h> #endif @@ -279,6 +283,7 @@ extern void recursive_config_double_dir_load( , size_t depth ); extern char *read_by_filename(char *filename, long *file_size); +extern char *find_and_replace(const char *src, const char *find, const char *replace, const char *where); /* fix for alpine linux */ #ifndef RUSAGE_THREAD |