summaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-01-13 19:36:22 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-01-13 19:36:22 +0000
commit1fbdf753dd73e19a3cf293c26a16d92de00de9a8 (patch)
treebb03d86fb4aea35c5f7584f7912801641d3862d6 /lib/libc/gen
parent4f5caedd70b68b2454725d84cd7ec3b6e95dd0c6 (diff)
include string.h to get strlen() prototype
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/getpass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/getpass.c b/lib/libc/gen/getpass.c
index 4d3dbe23356..325c40c2b22 100644
--- a/lib/libc/gen/getpass.c
+++ b/lib/libc/gen/getpass.c
@@ -32,13 +32,14 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getpass.c,v 1.6 1999/12/08 04:26:13 millert Exp $";
+static char rcsid[] = "$OpenBSD: getpass.c,v 1.7 2000/01/13 19:36:21 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <fcntl.h>
#include <paths.h>
#include <pwd.h>
#include <signal.h>
+#include <string.h>
#include <termios.h>
#include <unistd.h>