Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/mscdlabel need <sys/types.h>



details:   https://anonhg.NetBSD.org/src/rev/e8e697f86d3d
branches:  trunk
changeset: 820514:e8e697f86d3d
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 21:03:36 2017 +0000

description:
need <sys/types.h>

diffstat:

 usr.sbin/mscdlabel/main.c |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r e35f5b941568 -r e8e697f86d3d usr.sbin/mscdlabel/main.c
--- a/usr.sbin/mscdlabel/main.c Tue Jan 10 20:57:26 2017 +0000
+++ b/usr.sbin/mscdlabel/main.c Tue Jan 10 21:03:36 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.4 2006/05/25 00:42:23 christos Exp $ */
+/* $NetBSD: main.c,v 1.5 2017/01/10 21:03:36 christos Exp $ */
 
 /*
  * Copyright (c) 2002, 2005
@@ -33,14 +33,17 @@
  *  - support simulation of multisession CDs in a vnd(4) disk
  */
 
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/cdio.h>
+#include <sys/disklabel.h>
+#include <sys/ioctl.h>
+#include <sys/stat.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <sys/ioctl.h>
-#include <sys/cdio.h>
-#include <sys/disklabel.h>
-#include <sys/param.h>
 #include <err.h>
 #include <util.h>
 #include <string.h>



Home | Main Index | Thread Index | Old Index