]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
lib/: Use __has_include(<security/openpam.h>) instead of HAVE_SECURITY_OPENPAM_H
authorAlejandro Colomar <alx@kernel.org>
Tue, 12 Nov 2024 13:39:03 +0000 (14:39 +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 7eeb5d621c1afa29f5c171c8353ea01f7a02f0fa..f12e7d4d89732106310539bcf8f4771a5d987d60 100644 (file)
@@ -11,7 +11,7 @@
 #if __has_include(<security/pam_misc.h>)
 # include <security/pam_misc.h>
 #endif
-#ifdef HAVE_SECURITY_OPENPAM_H
+#if __has_include(<security/openpam.h>)
 # include <security/openpam.h>
 #endif