diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-12-21 20:10:09 +0900 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-12-21 14:19:00 +0000 |
commit | 3112d756a36993900b70fbff98e69a2a43b970a8 (patch) | |
tree | 900e8c26c0544ab0c8e19af19cbfa065af7772c3 | |
parent | 9519b41e529bc904b159acb87bdf84231599776b (diff) | |
download | systemd-3112d756a36993900b70fbff98e69a2a43b970a8.tar.gz |
meson: fix cross compiling
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index ff3e066e2c..6eae80608c 100644 --- a/meson.build +++ b/meson.build @@ -468,7 +468,7 @@ conf.set('SIZEOF_DEV_T', cc.sizeof('dev_t', prefix : '#include <sys/types.h>')) conf.set('SIZEOF_INO_T', cc.sizeof('ino_t', prefix : '#include <sys/types.h>')) conf.set('SIZEOF_TIME_T', cc.sizeof('time_t', prefix : '#include <sys/time.h>')) conf.set('SIZEOF_RLIM_T', cc.sizeof('rlim_t', prefix : '#include <sys/resource.h>')) -conf.set('SIZEOF_TIMEX_MEMBER', cc.sizeof('((struct timex *)0)->freq', prefix : '#include <sys/timex.h>')) +conf.set('SIZEOF_TIMEX_MEMBER', cc.sizeof('typeof(((struct timex *)0)->freq)', prefix : '#include <sys/timex.h>')) decl_headers = ''' #include <uchar.h> |