diff options
Diffstat (limited to '')
-rw-r--r-- | src/collectors/log2journal/log2journal.h (renamed from collectors/log2journal/log2journal.h) | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/collectors/log2journal/log2journal.h b/src/collectors/log2journal/log2journal.h index 834a5b135..c52e0898e 100644 --- a/collectors/log2journal/log2journal.h +++ b/src/collectors/log2journal/log2journal.h @@ -4,7 +4,7 @@ #define NETDATA_LOG2JOURNAL_H // only for PACKAGE_VERSION -#include "config.h" +#include <config.h> #include <stdio.h> #include <stdlib.h> @@ -86,7 +86,7 @@ static inline void freez(void *ptr) { // ---------------------------------------------------------------------------- #define XXH_INLINE_ALL -#include "../../libnetdata/xxhash.h" +#include "libnetdata/xxhash.h" #define PCRE2_CODE_UNIT_WIDTH 8 #include <pcre2.h> @@ -99,17 +99,14 @@ static inline void freez(void *ptr) { // hashtable for HASHED_KEY // cleanup hashtable defines -#undef SIMPLE_HASHTABLE_SORT_FUNCTION -#undef SIMPLE_HASHTABLE_VALUE_TYPE -#undef SIMPLE_HASHTABLE_NAME -#undef NETDATA_SIMPLE_HASHTABLE_H +#include "libnetdata/simple_hashtable_undef.h" struct hashed_key; static inline int compare_keys(struct hashed_key *k1, struct hashed_key *k2); #define SIMPLE_HASHTABLE_SORT_FUNCTION compare_keys #define SIMPLE_HASHTABLE_VALUE_TYPE struct hashed_key #define SIMPLE_HASHTABLE_NAME _KEY -#include "../../libnetdata/simple_hashtable.h" +#include "libnetdata/simple_hashtable.h" // ---------------------------------------------------------------------------- |