Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/raidctl need <sys/stat.h> for fstat()



details:   https://anonhg.NetBSD.org/src/rev/637b2fe34df3
branches:  trunk
changeset: 350365:637b2fe34df3
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 20:47:05 2017 +0000

description:
need <sys/stat.h> for fstat()

diffstat:

 sbin/raidctl/raidctl_hostops.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 3a6e0a1c4b9a -r 637b2fe34df3 sbin/raidctl/raidctl_hostops.c
--- a/sbin/raidctl/raidctl_hostops.c    Tue Jan 10 20:45:53 2017 +0000
+++ b/sbin/raidctl/raidctl_hostops.c    Tue Jan 10 20:47:05 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: raidctl_hostops.c,v 1.2 2011/02/09 11:22:49 pooka Exp $        */
+/*     $NetBSD: raidctl_hostops.c,v 1.3 2017/01/10 20:47:05 christos Exp $     */
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -28,11 +28,12 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: raidctl_hostops.c,v 1.2 2011/02/09 11:22:49 pooka Exp $");
+__RCSID("$NetBSD: raidctl_hostops.c,v 1.3 2017/01/10 20:47:05 christos Exp $");
 #endif /* !lint */
 
 #include <sys/types.h>
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 
 #include <fcntl.h>
 #include <unistd.h>



Home | Main Index | Thread Index | Old Index