From cf05a8ce0c3986dd26460faa4b602dfd71eefbda Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 22 Mar 2024 15:10:31 +0100 Subject: [PATCH] Always check HAVE_XYZ flags with #ifdef Meson uses #define HAVE_FEATURE (without 1), so it matters there --- pdns/threadname.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/threadname.cc b/pdns/threadname.cc index 39e904ce9111..90b7b974a14a 100644 --- a/pdns/threadname.cc +++ b/pdns/threadname.cc @@ -27,7 +27,7 @@ #include -#if HAVE_PTHREAD_NP_H +#ifdef HAVE_PTHREAD_NP_H #include #endif