Fixes crypt usage on glibc-2.28
Reported by Reuben Farrelly
Patch provided by Thore Bödecker
quota.h sys/fs/quota_common.h \
mntent.h sys/mnttab.h sys/event.h sys/time.h sys/mkdev.h linux/dqblk_xfs.h \
xfs/xqm.h execinfo.h ucontext.h malloc_np.h sys/utsname.h sys/vmount.h \
- sys/utsname.h glob.h linux/falloc.h ucred.h sys/ucred.h)
+ sys/utsname.h glob.h linux/falloc.h ucred.h sys/ucred.h crypt.h)
CC_CLANG
AC_CC_PIE
# define _XPG6 /* Some Solaris versions require this, some break with this */
#endif
#include <unistd.h>
+#ifdef HAVE_CRYPT_H
+# include <crypt.h>
+#endif
#include "mycrypt.h"