From c5ecba35096aecd4a5ceeb065e9c77ca16463373 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 13 May 2019 22:09:57 +0200 Subject: Add check for sys/utsname.h --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 61818a11..6303b872 100644 --- a/meson.build +++ b/meson.build @@ -92,6 +92,10 @@ if compiler.has_header('netdb.h') conf_data.set('HAVE_NETDB_H', 1) endif +if compiler.has_header('sys/utsname.h') + conf_data.set('HAVE_SYS_UTSNAME_H', 1) +endif + configure_file(output : 'config.h', configuration : conf_data) -- cgit v1.2.3