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);
      |                      ~~~~~~~~~~~~~~~~~~~^
This commit is contained in:
Khem Raj
2023-08-02 14:45:27 -07:00
parent 0b056cbc2d
commit e6456caf76
+1
View File
@@ -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__