Module Name: src
Committed By: christos
Date: Tue Jan 10 20:45:19 UTC 2017
Modified Files:
src/sbin/cgdconfig: cgdconfig.c
Log Message:
Need <sys/stat.h> for S_IFBLK.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sbin/cgdconfig/cgdconfig.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/cgdconfig/cgdconfig.c
diff -u src/sbin/cgdconfig/cgdconfig.c:1.40 src/sbin/cgdconfig/cgdconfig.c:1.41
--- src/sbin/cgdconfig/cgdconfig.c:1.40 Sun Nov 22 15:24:19 2015
+++ src/sbin/cgdconfig/cgdconfig.c Tue Jan 10 15:45:19 2017
@@ -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 @@ __RCSID("$NetBSD: cgdconfig.c,v 1.40 201
#include <dirent.h>
#include <sys/ioctl.h>
+#include <sys/stat.h>
#include <sys/bootblock.h>
#include <sys/disklabel.h>
#include <sys/disklabel_gpt.h>