diff --git a/meson.build b/meson.build index 2c3397d673e..661a01e82b4 100644 --- a/meson.build +++ b/meson.build @@ -949,6 +949,8 @@ elif host_machine.system() == 'windows' else pre_args += ['-D__MSVCRT_VERSION__=0x0700'] endif +elif host_machine.system() == 'openbsd' + pre_args += '-D_ISOC11_SOURCE' endif # Check for generic C arguments