diff --git a/src/cgroup.c b/src/cgroup.c index 79922e5e..98dd0f7b 100644 --- a/src/cgroup.c +++ b/src/cgroup.c @@ -42,6 +42,9 @@ #include "iwatch.h" #include "conf.h" #include "service.h" +#ifdef AUTO_RELOAD +#include "sm.h" +#endif #include "log.h" #include "util.h" diff --git a/src/conf.c b/src/conf.c index 22e5e79d..fb3f954e 100644 --- a/src/conf.c +++ b/src/conf.c @@ -67,6 +67,9 @@ #include "legacy.h" #include "private.h" #include "service.h" +#ifdef AUTO_RELOAD +#include "sm.h" +#endif #include "helpers.h" #include "util.h"