summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-09-16 02:40:52 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-09-16 02:40:52 +0000
commitf50922d35bbce02f83eddd98469a610651b98186 (patch)
tree71274e8193e01d584bffb0692508f9eea2184a40 /lib
parent79ab2c41f66114f62f1a09281a319ed884450699 (diff)
Bring prototypes into scope
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/login_fbtab.c1
-rw-r--r--lib/libutil/opendev.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libutil/login_fbtab.c b/lib/libutil/login_fbtab.c
index 342326ab71d..a6b6379f3fa 100644
--- a/lib/libutil/login_fbtab.c
+++ b/lib/libutil/login_fbtab.c
@@ -59,6 +59,7 @@
*/
#include <sys/types.h>
+#include <sys/stat.h>
#include <stdio.h>
#include <syslog.h>
#include <string.h>
diff --git a/lib/libutil/opendev.c b/lib/libutil/opendev.c
index 9d1dda8ad83..add26d7dcd5 100644
--- a/lib/libutil/opendev.c
+++ b/lib/libutil/opendev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: opendev.c,v 1.4 1996/07/02 07:57:54 downsj Exp $ */
+/* $OpenBSD: opendev.c,v 1.5 1996/09/16 02:40:51 tholo Exp $ */
/*
* Copyright (c) 1996, Jason Downs. All rights reserved.
@@ -26,6 +26,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <paths.h>