Source-Changes-HG archive

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

[src/trunk]: src/sbin/cgdconfig Need <sys/stat.h> for S_IFBLK.



details:   https://anonhg.NetBSD.org/src/rev/d55d4792f688
branches:  trunk
changeset: 820505:d55d4792f688
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 20:45:19 2017 +0000

description:
Need <sys/stat.h> for S_IFBLK.

diffstat:

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

diffs (26 lines):

diff -r bdf2bed516fd -r d55d4792f688 sbin/cgdconfig/cgdconfig.c
--- a/sbin/cgdconfig/cgdconfig.c        Tue Jan 10 20:44:05 2017 +0000
+++ b/sbin/cgdconfig/cgdconfig.c        Tue Jan 10 20:45:19 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgdconfig.c,v 1.40 2015/11/22 20:24:19 christos Exp $ */
+/* $NetBSD: cgdconfig.c,v 1.41 2017/01/10 20:45:19 christos Exp $ */
 
 /*-
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #ifndef lint
 __COPYRIGHT("@(#) Copyright (c) 2002, 2003\
  The NetBSD Foundation, Inc.  All rights reserved.");
-__RCSID("$NetBSD: cgdconfig.c,v 1.40 2015/11/22 20:24:19 christos Exp $");
+__RCSID("$NetBSD: cgdconfig.c,v 1.41 2017/01/10 20:45:19 christos Exp $");
 #endif
 
 #include <err.h>
@@ -49,6 +49,7 @@
 #include <dirent.h>
 
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 #include <sys/bootblock.h>
 #include <sys/disklabel.h>
 #include <sys/disklabel_gpt.h>



Home | Main Index | Thread Index | Old Index