aboutsummaryrefslogtreecommitdiff
path: root/libpamc/include/security/pam_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpamc/include/security/pam_client.h')
-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)