summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/passwd/pwd_check.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/passwd/pwd_check.c b/usr.bin/passwd/pwd_check.c
index d7d8ca86a02..9b902adb172 100644
--- a/usr.bin/passwd/pwd_check.c
+++ b/usr.bin/passwd/pwd_check.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd_check.c,v 1.1 2000/08/01 22:27:51 provos Exp $ */
+/* $OpenBSD: pwd_check.c,v 1.2 2000/11/24 20:50:20 millert Exp $ */
/*
* Copyright 2000 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -29,17 +29,19 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <stdio.h>
#include <sys/types.h>
#include <sys/wait.h>
+
+#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <limits.h>
+#include <errno.h>
#include <regex.h>
#include <grp.h>
#include <paths.h>
#include <pwd.h>
-#include <sys/errno.h>
struct pattern {
char *match;