diff --git a/src/systemd/meson.build b/src/systemd/meson.build index 06ba4cbc075..eae027dafa2 100644 --- a/src/systemd/meson.build +++ b/src/systemd/meson.build @@ -65,11 +65,12 @@ endif opts = [['c'], ['c', '-ansi'], - ['c', '-std=iso9899:1990'], - ['c', '-std=iso9899:2011']] + ['c', '-std=iso9899:1990'], # C90 + ['c', '-std=iso9899:1999'], # C99 + ['c', '-std=iso9899:2011']] # C11 -foreach opt : ['-std=iso9899:2017', - '-std=c23', +foreach opt : ['-std=iso9899:2018', # C17 + '-std=iso9899:2024', # C23 ] if cc.has_argument(opt) opts += [['c', opt]]