blob: f57fb75712a51aca05c4c084589e5f20ed20737e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- pwauth-2.3.11.orig/auth_sun.c
+++ pwauth-2.3.11/auth_sun.c
@@ -32,6 +32,9 @@
*/
#include "pwauth.h"
+#if defined(CHECK_LOGIN_EXPIRATION) || defined(CHECK_PASSWORD_EXPIRATION)
+#include <time.h>
+#endif
#ifdef SHADOW_SUN
#ifdef NEED_UID
--- pwauth-2.3.11.orig/main.c
+++ pwauth-2.3.11/main.c
@@ -43,8 +43,9 @@
int server_uids[]= {SERVER_UIDS, 0};
#endif
+int check_auth(char *login, char *passwd);
-main(int argc, char **argv)
+void main(int argc, char **argv)
{
#ifdef ENV_METHOD
char *login, *passwd;
|