[hackers] [PATCH] Add crypt.h for recent glibc versions

From: David Demelier <markand_AT_malikania.fr>
Date: Fri, 4 May 2018 13:36:06 +0200

The crypt function is no more defined in unistd.h in recent glibc
version even though the manual page says it is.
---
 slock.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/slock.c b/slock.c
index 5ae738c..f8e0a05 100644
--- a/slock.c
+++ b/slock.c
_AT_@ -4,6 +4,7 @@
 #include <shadow.h>
 #endif
 
+#include <crypt.h>
 #include <ctype.h>
 #include <errno.h>
 #include <grp.h>
-- 
2.17.0
Received on Fri May 04 2018 - 13:36:06 CEST

This archive was generated by hypermail 2.3.0 : Fri May 04 2018 - 13:48:18 CEST