From: Otto Moerbeek Date: Fri, 22 Mar 2024 14:10:31 +0000 (+0100) Subject: Always check HAVE_XYZ flags with #ifdef X-Git-Tag: rec-5.1.0-alpha1~94^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13971%2Fhead;p=thirdparty%2Fpdns.git Always check HAVE_XYZ flags with #ifdef Meson uses #define HAVE_FEATURE (without 1), so it matters there --- diff --git a/pdns/threadname.cc b/pdns/threadname.cc index 39e904ce91..90b7b974a1 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