Source-Changes-HG archive

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

[src/trunk]: src/sys/sys move include of <sys/iostat.h> back to where userlan...



details:   https://anonhg.NetBSD.org/src/rev/9a5f229ee6e2
branches:  trunk
changeset: 824660:9a5f229ee6e2
user:      chs <chs%NetBSD.org@localhost>
date:      Tue Jun 13 14:05:47 2017 +0000

description:
move include of <sys/iostat.h> back to where userland will get it.
some third-party software relies on this header including that one.
pointed out by joerg.

diffstat:

 sys/sys/disk.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r ac63c49e53a7 -r 9a5f229ee6e2 sys/sys/disk.h
--- a/sys/sys/disk.h    Tue Jun 13 13:46:14 2017 +0000
+++ b/sys/sys/disk.h    Tue Jun 13 14:05:47 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disk.h,v 1.71 2017/06/08 22:24:59 chs Exp $    */
+/*     $NetBSD: disk.h,v 1.72 2017/06/13 14:05:47 chs Exp $    */
 
 /*-
  * Copyright (c) 1996, 1997, 2004 The NetBSD Foundation, Inc.
@@ -82,6 +82,7 @@
 #include <sys/dkio.h>
 #include <sys/time.h>
 #include <sys/queue.h>
+#include <sys/iostat.h>
 
 /*
  * Disk information dictionary.
@@ -299,7 +300,6 @@
 #ifdef _KERNEL
 #include <sys/device.h>
 #include <sys/mutex.h>
-#include <sys/iostat.h>
 
 #include <prop/proplib.h>
 



Home | Main Index | Thread Index | Old Index