Merge branch 'main' into 'main'

Check for linux/netlink.h buildability

See merge request GNOME/glib!3422
This commit is contained in:
Philip Withnall 2023-05-09 13:15:32 +00:00
commit 60f38b5f75

View File

@ -412,7 +412,7 @@ if cc.check_header('malloc.h')
glib_conf_prefix = glib_conf_prefix + '#define HAVE_MALLOC_H 1\n'
endif
if cc.has_header('linux/netlink.h')
if cc.check_header('linux/netlink.h')
glib_conf.set('HAVE_NETLINK', 1)
endif