summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pam_radius_auth.c4
-rw-r--r--src/pam_radius_auth.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/pam_radius_auth.c b/src/pam_radius_auth.c
index 90d074a..d184e1a 100644
--- a/src/pam_radius_auth.c
+++ b/src/pam_radius_auth.c
@@ -55,10 +55,6 @@
#define PAM_SM_PASSWORD
#define PAM_SM_SESSION
-#include <limits.h>
-#include <errno.h>
-#include <sys/time.h>
-
#include "pam_radius_auth.h"
#define DPRINT if (opt_debug & PAM_DEBUG_ARG) _pam_log
diff --git a/src/pam_radius_auth.h b/src/pam_radius_auth.h
index 95f262c..defec5c 100644
--- a/src/pam_radius_auth.h
+++ b/src/pam_radius_auth.h
@@ -3,6 +3,9 @@
#include "config.h"
+#include <limits.h>
+#include <errno.h>
+#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/resource.h>