diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-08-02 21:14:56 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-08-02 23:45:27 +0200 |
commit | e6456caf7676329abe861e9381f1957794baeabc (patch) | |
tree | 51ced9f8f2febb28401f8ab02da1482e56d8d73b | |
parent | Merge pull request #28640 from medhefgo/boot-count (diff) | |
download | systemd-e6456caf7676329abe861e9381f1957794baeabc.tar.xz systemd-e6456caf7676329abe861e9381f1957794baeabc.zip |
test/test-sizeof: Include sys/timex.h for struct timex
Fixes
../git/src/test/test-sizeof.c:64:41: error: incomplete definition of type 'struct timex'
64 | check(typeof(((struct timex *)0)->freq), SIZEOF_TIMEX_MEMBER);
| ~~~~~~~~~~~~~~~~~~~^
-rw-r--r-- | src/test/test-sizeof.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c index 18378b0450..ea0c58770e 100644 --- a/src/test/test-sizeof.c +++ b/src/test/test-sizeof.c @@ -5,6 +5,7 @@ #include <string.h> #include <sys/resource.h> #include <sys/socket.h> +#include <sys/timex.h> #include <sys/types.h> #define __STDC_WANT_IEC_60559_TYPES_EXT__ |