basic: Include time-util.h in constants.h
constants.h defines a bunch of constants that use macros from time-util.h, so add the needed include. To avoid cyclic dependencies, we move the HAS_FEATURE_MEMORY_SANITIZER and HAS_FEATURE_ADDRESS_SANITIZER logic to macro.h and get rid of the constants.h include there. The rest of this commit is adding missing constants.h includes where needed due to it being removed from macro.h.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "bus-error.h"
|
||||
#include "bus-locator.h"
|
||||
#include "constants.h"
|
||||
#include "systemctl.h"
|
||||
#include "systemctl-daemon-reload.h"
|
||||
#include "systemctl-util.h"
|
||||
|
||||
Reference in New Issue
Block a user