summaryrefslogtreecommitdiff
path: root/usr.bin/passwd/pwd_gensalt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/passwd/pwd_gensalt.c')
-rw-r--r--usr.bin/passwd/pwd_gensalt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/passwd/pwd_gensalt.c b/usr.bin/passwd/pwd_gensalt.c
index 2c7ce64c2c0..a4729cbdc80 100644
--- a/usr.bin/passwd/pwd_gensalt.c
+++ b/usr.bin/passwd/pwd_gensalt.c
@@ -30,10 +30,12 @@
#include <sys/syslimits.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <err.h>
#include <pwd.h>
#include <util.h>
+#include <time.h>
void to64( char *, long, int n);