summaryrefslogtreecommitdiff
path: root/lib/libc/gen/opendir.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-07-09 00:28:27 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-07-09 00:28:27 +0000
commit315b15886dcaaaf8e2bf474739d7c019d3f2396a (patch)
treeb6a5e02a1dcf64a84311735748bf20f369349d40 /lib/libc/gen/opendir.c
parentb1bb9f5345c5435d25c09476bcc489d0d649b747 (diff)
Clean up some -Wall complaints.
Diffstat (limited to 'lib/libc/gen/opendir.c')
-rw-r--r--lib/libc/gen/opendir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/opendir.c b/lib/libc/gen/opendir.c
index 2c8487e82a9..81aa0538c31 100644
--- a/lib/libc/gen/opendir.c
+++ b/lib/libc/gen/opendir.c
@@ -32,7 +32,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: opendir.c,v 1.3 1996/09/07 19:04:06 tholo Exp $";
+static char rcsid[] = "$OpenBSD: opendir.c,v 1.4 1997/07/09 00:28:23 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -43,6 +43,7 @@ static char rcsid[] = "$OpenBSD: opendir.c,v 1.3 1996/09/07 19:04:06 tholo Exp $
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
/*