Add missing header needed by isdigit().
authorchl <chl@openbsd.org>
Sat, 17 May 2014 15:18:06 +0000 (15:18 +0000)
committerchl <chl@openbsd.org>
Sat, 17 May 2014 15:18:06 +0000 (15:18 +0000)
While there, sort headers.

ok tedu@

lib/libc/crypt/bcrypt.c

index 87d47b8..aab26fe 100644 (file)
@@ -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>
  *
  */
 
+#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