diff --git a/subprojects/gst-plugins-good/meson.build b/subprojects/gst-plugins-good/meson.build index c98fcdd5ac..9ffc28a495 100644 --- a/subprojects/gst-plugins-good/meson.build +++ b/subprojects/gst-plugins-good/meson.build @@ -214,7 +214,7 @@ cdata.set('SIZEOF_INT', cc.sizeof('int')) cdata.set('SIZEOF_LONG', cc.sizeof('long')) cdata.set('SIZEOF_SHORT', cc.sizeof('short')) cdata.set('SIZEOF_VOIDP', cc.sizeof('void*')) -cdata.set('SIZEOF_OFF_T', cc.sizeof('off_t')) +cdata.set('SIZEOF_OFF_T', cc.sizeof('off_t', prefix : '#include')) have_rtld_noload = cc.has_header_symbol('dlfcn.h', 'RTLD_NOLOAD') cdata.set('HAVE_RTLD_NOLOAD', have_rtld_noload)