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/a7f08f759439
branches:  trunk
changeset: 350372:a7f08f759439
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 23cdea673492 -r a7f08f759439 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