Source-Changes-HG archive

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

[src/trunk]: src/lib/libutil Don't rely on something including sys/ioctl.h fo...



details:   https://anonhg.NetBSD.org/src/rev/86a4aeba7d0a
branches:  trunk
changeset: 783625:86a4aeba7d0a
user:      dsl <dsl%NetBSD.org@localhost>
date:      Tue Jan 01 18:32:17 2013 +0000

description:
Don't rely on something including sys/ioctl.h for us.

diffstat:

 lib/libutil/getfsspecname.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 0a861a4465f1 -r 86a4aeba7d0a lib/libutil/getfsspecname.c
--- a/lib/libutil/getfsspecname.c       Tue Jan 01 17:28:27 2013 +0000
+++ b/lib/libutil/getfsspecname.c       Tue Jan 01 18:32:17 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getfsspecname.c,v 1.3 2012/04/08 20:56:12 christos Exp $       */
+/*     $NetBSD: getfsspecname.c,v 1.4 2013/01/01 18:32:17 dsl Exp $    */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -29,9 +29,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: getfsspecname.c,v 1.3 2012/04/08 20:56:12 christos Exp $");
+__RCSID("$NetBSD: getfsspecname.c,v 1.4 2013/01/01 18:32:17 dsl Exp $");
 
 #include <sys/types.h>
+#include <sys/ioctl.h>
 #include <sys/sysctl.h>
 #include <sys/disk.h>
 



Home | Main Index | Thread Index | Old Index