]> arthur.barton.de Git - netdata.git/blobdiff - src/common.h
apps.plugin detects in-place process changes; fixes #1698
[netdata.git] / src / common.h
index 26ad467db2f00b6eeb471db070194bd89706e404..ea129550fa3c95afc96a18e2688722b237503f5e 100644 (file)
 #include <zlib.h>
 #endif
 
+#ifdef HAVE_CAPABILITY
+#include <sys/capability.h>
+#endif
+
 // ----------------------------------------------------------------------------
 // netdata common definitions
 
 #include "ipc.h"
 #include "backends.h"
 #include "inlined.h"
+#include "adaptive_resortable_list.h"
 
 extern void netdata_fix_chart_id(char *s);
 extern void netdata_fix_chart_name(char *s);
@@ -216,7 +221,6 @@ extern void strreverse(char* begin, char* end);
 extern char *mystrsep(char **ptr, char *s);
 extern char *trim(char *s);
 
-extern char *strncpyz(char *dst, const char *src, size_t n);
 extern int  vsnprintfz(char *dst, size_t n, const char *fmt, va_list args);
 extern int  snprintfz(char *dst, size_t n, const char *fmt, ...) PRINTFLIKE(3, 4);