From: Khem Raj Date: Wed, 2 Aug 2023 19:14:56 +0000 (-0700) Subject: test/test-sizeof: Include sys/timex.h for struct timex X-Git-Tag: v255-rc1~835^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6456caf7676329abe861e9381f1957794baeabc;p=thirdparty%2Fsystemd.git 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); | ~~~~~~~~~~~~~~~~~~~^ --- diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c index 18378b04500..ea0c58770ec 100644 --- a/src/test/test-sizeof.c +++ b/src/test/test-sizeof.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #define __STDC_WANT_IEC_60559_TYPES_EXT__