aboutsummaryrefslogtreecommitdiff
path: root/libpamc
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-01-04 19:18:32 +0100
committerDmitry V. Levin <ldv@strace.io>2024-01-04 18:18:34 +0000
commit3c71b368dd52e6acd2e887a8b8317a223b3fce4e (patch)
tree97ea753a1e827e7f0a3f00f92926bf6542a8aad4 /libpamc
parent30526423027e502c060366aec1be11fc6c205ca6 (diff)
downloadpam-3c71b368dd52e6acd2e887a8b8317a223b3fce4e.tar.gz
pam-3c71b368dd52e6acd2e887a8b8317a223b3fce4e.tar.bz2
pam-3c71b368dd52e6acd2e887a8b8317a223b3fce4e.zip
libpamc: merge includes
Diffstat (limited to 'libpamc')
-rw-r--r--libpamc/include/security/pam_client.h5
1 files changed, 1 insertions, 4 deletions
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)