diff options
author | vkalintiris <vasilis@netdata.cloud> | 2021-05-24 17:44:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 17:44:50 +0300 |
commit | b8cd2bdc50fd8d10eb38c173b97b5918012271e7 (patch) | |
tree | 90f955325e16371e9dbab011e64b5ef8293179b8 /aclk/aclk_otp.c | |
parent | 277e4f10bc47bfc5f48a6f62adea5c3fac45208e (diff) |
Remove unecessary relative paths when including headers. (#11124)
Currently, we add the repository's top-level dir in the compiler's
header search path. This means that code in every top-level directory
within the repo can include headers sibling top-level directories.
This patch makes header inclusion consistent when it comes to files
that are included from sibling top-level directories within the repo.
Diffstat (limited to 'aclk/aclk_otp.c')
-rw-r--r-- | aclk/aclk_otp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aclk/aclk_otp.c b/aclk/aclk_otp.c index 411a5f8912..7ae6891940 100644 --- a/aclk/aclk_otp.c +++ b/aclk/aclk_otp.c @@ -3,9 +3,9 @@ #include "aclk_otp.h" -#include "../daemon/common.h" +#include "daemon/common.h" -#include "../mqtt_websockets/c-rbuf/include/ringbuffer.h" +#include "mqtt_websockets/c-rbuf/include/ringbuffer.h" // CentOS 7 has older version that doesn't define this // same goes for MacOS |