]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/: Use __has_include(<security/pam_misc.h>) instead of HAVE_SECURITY_PAM_MISC_H
authorAlejandro Colomar <alx@kernel.org>
Tue, 12 Nov 2024 13:38:10 +0000 (14:38 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 8 Feb 2025 05:43:55 +0000 (23:43 -0600)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/pam_defs.h

index dd016e5ccd11c46a93f7c5febed4c1006028d17d..7eeb5d621c1afa29f5c171c8353ea01f7a02f0fa 100644 (file)
@@ -6,8 +6,9 @@
  */
 
 #include <config.h>
+
 #include <security/pam_appl.h>
-#ifdef HAVE_SECURITY_PAM_MISC_H
+#if __has_include(<security/pam_misc.h>)
 # include <security/pam_misc.h>
 #endif
 #ifdef HAVE_SECURITY_OPENPAM_H