]> git.ipfire.org Git - thirdparty/systemd.git/commit
timesync,test: explicitly include sys/timex.h when struct timex is used 38100/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 7 Jul 2025 03:40:11 +0000 (12:40 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 7 Jul 2025 03:44:18 +0000 (12:44 +0900)
commit10b0bc476b37dfa506a464da925419b0b06c5341
treefec7e1d8e5a882d0131cfc11d0b56e77b25c3038
parent83a047fe23238bebc91659394949c6046f66a78f
timesync,test: explicitly include sys/timex.h when struct timex is used

struct timex is defined by sys/timex.h -> bits/timex.h.
Glibc includes the header in time.h, but let's explicitly include it
when the struct is used.

Similar to 4f18ff2e29b8054f30b084abcabf5f689f4b340b, but for sys/timex.h.
src/test/test-sizeof.c
src/timesync/timesyncd-manager.c