From e6456caf7676329abe861e9381f1957794baeabc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 2 Aug 2023 12:14:56 -0700 Subject: [PATCH] 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); | ~~~~~~~~~~~~~~~~~~~^ --- src/test/test-sizeof.c | 1 + 1 file changed, 1 insertion(+) 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 #include #include +#include #include #define __STDC_WANT_IEC_60559_TYPES_EXT__ -- 2.25.1