diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-11-24 20:50:21 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-11-24 20:50:21 +0000 |
commit | b7866de6510d657d788b565e72a52d209c4afb10 (patch) | |
tree | 8e1470e1877591cf0e92f32cc1e076046b2a7e63 | |
parent | 0845886a6ac4d8c07df6f57d3c06bbe8e22c0854 (diff) |
Include strings.h for strlen() prototype
Include errno.h, not sys/errno.h since this is userland
-rw-r--r-- | usr.bin/passwd/pwd_check.c | 8 |
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; |