]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic: Include time-util.h in constants.h
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 21 May 2025 07:23:13 +0000 (09:23 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 21 May 2025 08:49:42 +0000 (10:49 +0200)
commit8b5ce49591cf342dabc6fd3874411d1a2f16761e
treea791ac9c0ae29529a959a102df55794fcd95b4fe
parent98ff8a198b6a3b3c3a40869ab744bcbcffb0b718
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.
src/basic/constants.h
src/basic/macro.h
src/core/ipe-setup.c
src/resolve/resolved-dns-delegate.c
src/systemctl/systemctl-daemon-reload.c
src/timedate/timedatectl.c