summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>