summaryrefslogtreecommitdiff
path: root/app-admin/apg/files/apg-2.3.0b_p20240821-crypt_password.patch
blob: ee0cceaf1bf9541145f706a527951818a5a541a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/restrict.c
+++ b/restrict.c
@@ -33,6 +33,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#if defined(APG_USE_CRACKLIB)
+#include <crack.h>
+#endif /* APG_USE_CRACKLIB */
 #include "restrict.h"
 extern struct sym smbl[94];
 /*
--- a/apg.c
+++ b/apg.c
@@ -100,6 +100,7 @@
 #else /* CLISERV */
 #if defined(APG_USE_CRACKLIB)
 #define APG_PROGRAMM_OPTIONS "M:E:a:r:b:p:n:m:x:vkt"
+#include <crack.h>
 #else /* CRACKLIB */
 #define APG_PROGRAMM_OPTIONS "M:E:a:r:b:p:n:m:x:vt"
 #endif /* CRACKLIB */