summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2000-01-13 19:36:21 +0000
committermillert <millert@openbsd.org>2000-01-13 19:36:21 +0000
commit2b541c6465c9de605cd7aee33f807322ee76b3ba (patch)
treef542334d5806bac3fad000f96a372f863df18de4 /lib
parentRecord 50 levels of open parenthesis, open quotes, to give a post-mortem. (diff)
downloadwireguard-openbsd-2b541c6465c9de605cd7aee33f807322ee76b3ba.tar.xz
wireguard-openbsd-2b541c6465c9de605cd7aee33f807322ee76b3ba.zip
include string.h to get strlen() prototype
Diffstat (limited to 'lib')
-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>