diff --git a/meson.build b/meson.build index 2a116b49e..ca0461fa8 100644 --- a/meson.build +++ b/meson.build @@ -1119,7 +1119,7 @@ if cc.compiles('''#include #include #include void some_func (void) { - open(0, O_DIRECTORY, 0); + open(".", O_DIRECTORY, 0); }''', name : 'open() option O_DIRECTORY') glib_conf.set('HAVE_OPEN_O_DIRECTORY', 1) endif