From 3c71b368dd52e6acd2e887a8b8317a223b3fce4e Mon Sep 17 00:00:00 2001
From: Christian Göttsche <cgzones@googlemail.com>
Date: Thu, 4 Jan 2024 19:18:32 +0100
Subject: libpamc: merge includes

---
 libpamc/include/security/pam_client.h | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'libpamc')

diff --git a/libpamc/include/security/pam_client.h b/libpamc/include/security/pam_client.h
index 0fc2cf44..4139d0ad 100644
--- a/libpamc/include/security/pam_client.h
+++ b/libpamc/include/security/pam_client.h
@@ -17,6 +17,7 @@ extern "C" {
 #include <string.h>
 #include <stdio.h>
 #include <stdint.h>
+#include <stdlib.h>
 #include <sys/types.h>
 
 /* opaque agent handling structure */
@@ -71,10 +72,6 @@ char **pamc_list_agents(pamc_handle_t pch);
  * PAM_BP_ MACROS for creating, destroying and manipulating binary prompts
  */
 
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-
 #ifndef PAM_BP_ASSERT
 # ifdef NDEBUG
 #  define PAM_BP_ASSERT(x)   do {} while (0)
-- 
cgit v1.2.3