summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2014-05-17 15:18:07 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2014-05-17 15:18:07 +0000
commita414f1ec96d33106505dc2856bfa3356c2ac43de (patch)
tree58229c0564fae6a6516b708f8ec4ae518ea55431
parent1d18afb454bd268db3f30163527669a96ded7d61 (diff)
Add missing header needed by isdigit().
While there, sort headers. ok tedu@
-rw-r--r--lib/libc/crypt/bcrypt.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/crypt/bcrypt.c b/lib/libc/crypt/bcrypt.c
index 87d47b816e9..aab26fe2cb0 100644
--- a/lib/libc/crypt/bcrypt.c
+++ b/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcrypt.c,v 1.43 2014/05/06 15:59:24 tedu Exp $ */
+/* $OpenBSD: bcrypt.c,v 1.44 2014/05/17 15:18:06 chl Exp $ */
/*
* Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
@@ -31,12 +31,13 @@
*
*/
+#include <sys/types.h>
+#include <blf.h>
+#include <ctype.h>
+#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/types.h>
#include <string.h>
-#include <pwd.h>
-#include <blf.h>
/* This implementation is adaptable to current computing power.
* You can have up to 2^31 rounds which should be enough for some