diff --git a/test cases/common/195 check header/meson.build b/test cases/common/195 check header/meson.build index 7b343d7e3..f2f7fa5c0 100644 --- a/test cases/common/195 check header/meson.build +++ b/test cases/common/195 check header/meson.build @@ -33,8 +33,8 @@ foreach comp : [meson.get_compiler('c'), meson.get_compiler('cpp')] # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80005 # https://github.com/mesonbuild/meson/issues/1458 if host_system == 'linux' - assert(comp.check_header('linux/if.h', prefix : fallback), - 'Could not find ') + assert(comp.check_header('linux/socket.h', prefix : fallback), + 'Could not find ') if comp.has_header('intrin.h', prefix : fallback) assert(not comp.check_header('intrin.h'), 'intrin.h should not be usable on linux')