Module Name: src
Committed By: christos
Date: Tue Jan 10 20:54:10 UTC 2017
Modified Files:
src/sbin/fsck_v7fs: fsck_v7fs.c
Log Message:
need <sys/stat.h>
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sbin/fsck_v7fs/fsck_v7fs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/fsck_v7fs/fsck_v7fs.c
diff -u src/sbin/fsck_v7fs/fsck_v7fs.c:1.1 src/sbin/fsck_v7fs/fsck_v7fs.c:1.2
--- src/sbin/fsck_v7fs/fsck_v7fs.c:1.1 Mon Jun 27 07:52:58 2011
+++ src/sbin/fsck_v7fs/fsck_v7fs.c Tue Jan 10 15:54:10 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: fsck_v7fs.c,v 1.1 2011/06/27 11:52:58 uch Exp $ */
+/* $NetBSD: fsck_v7fs.c,v 1.2 2017/01/10 20:54:10 christos Exp $ */
/*-
* Copyright (c) 2004, 2011 The NetBSD Foundation, Inc.
@@ -31,17 +31,20 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: fsck_v7fs.c,v 1.1 2011/06/27 11:52:58 uch Exp $");
+__RCSID("$NetBSD: fsck_v7fs.c,v 1.2 2017/01/10 20:54:10 christos Exp $");
#endif /* not lint */
+#include <sys/types.h>
+#include <sys/disklabel.h>
+#include <sys/ioctl.h>
+#include <sys/stat.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <err.h>
-#include <sys/ioctl.h>
-#include <sys/disklabel.h>
#include <fs/v7fs/v7fs.h>
#include "v7fs_impl.h"