summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorriastradh <riastradh@NetBSD.org>2017-10-28 06:27:32 +0000
committerriastradh <riastradh@NetBSD.org>2017-10-28 06:27:32 +0000
commit40de80e35382e6fc75e41dbae07336c635d86876 (patch)
tree2d09cd59e62014897b3ff12e4478e3b0fb8bf5b0 /sys/dev
parent9a5a0c858636aecb57a0827807b9590f7ea25e5e (diff)
Add some #includes to make a few more header files compile.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/apm/apmio.h3
-rw-r--r--sys/dev/dmover/dmover_io.h3
-rw-r--r--sys/dev/dtv/dtvio_demux.h3
-rw-r--r--sys/dev/dtv/dtvio_frontend.h3
-rw-r--r--sys/dev/i2c/i2c_io.h3
-rw-r--r--sys/dev/i2o/i2o.h5
-rw-r--r--sys/dev/i2o/iopio.h3
-rw-r--r--sys/dev/ic/athioctl.h7
-rw-r--r--sys/dev/ic/icp_ioctl.h5
-rw-r--r--sys/dev/ic/mlxio.h3
10 files changed, 28 insertions, 10 deletions
diff --git a/sys/dev/apm/apmio.h b/sys/dev/apm/apmio.h
index bcd9b01fef5..80efcfd3a05 100644
--- a/sys/dev/apm/apmio.h
+++ b/sys/dev/apm/apmio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: apmio.h,v 1.6 2015/09/06 06:00:59 dholland Exp $ */
+/* $NetBSD: apmio.h,v 1.7 2017/10/28 06:27:32 riastradh Exp $ */
/*-
* Copyright (c) 1995 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -30,6 +30,7 @@
#ifndef _DEV_APM_APMIO_H_
#define _DEV_APM_APMIO_H_
+#include <sys/types.h>
#include <sys/ioccom.h>
struct apm_event_info {
diff --git a/sys/dev/dmover/dmover_io.h b/sys/dev/dmover/dmover_io.h
index dfb01dcf91d..7d37398f07e 100644
--- a/sys/dev/dmover/dmover_io.h
+++ b/sys/dev/dmover/dmover_io.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dmover_io.h,v 1.3 2005/12/11 12:21:20 christos Exp $ */
+/* $NetBSD: dmover_io.h,v 1.4 2017/10/28 06:27:32 riastradh Exp $ */
/*
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -38,6 +38,7 @@
#ifndef _DMOVER_DMOVER_IO_H_
#define _DMOVER_DMOVER_IO_H_
+#include <sys/types.h>
#include <sys/ioccom.h>
#include <sys/uio.h>
diff --git a/sys/dev/dtv/dtvio_demux.h b/sys/dev/dtv/dtvio_demux.h
index f372307f733..52b15736db1 100644
--- a/sys/dev/dtv/dtvio_demux.h
+++ b/sys/dev/dtv/dtvio_demux.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dtvio_demux.h,v 1.2 2011/07/10 15:50:48 jmcneill Exp $ */
+/* $NetBSD: dtvio_demux.h,v 1.3 2017/10/28 06:27:32 riastradh Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill@invisible.ca>
@@ -35,6 +35,7 @@
#ifndef _DEV_DTV_DTVIO_DEMUX_H
#define _DEV_DTV_DTVIO_DEMUX_H
+#include <sys/types.h>
#include <sys/ioccom.h>
/*
diff --git a/sys/dev/dtv/dtvio_frontend.h b/sys/dev/dtv/dtvio_frontend.h
index 249d1c2f0cd..2bd7712cdb8 100644
--- a/sys/dev/dtv/dtvio_frontend.h
+++ b/sys/dev/dtv/dtvio_frontend.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dtvio_frontend.h,v 1.2 2011/07/13 23:16:55 jmcneill Exp $ */
+/* $NetBSD: dtvio_frontend.h,v 1.3 2017/10/28 06:27:32 riastradh Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <jmcneill@invisible.ca>
@@ -35,6 +35,7 @@
#ifndef _DEV_DTV_DTVIO_FRONTEND_H
#define _DEV_DTV_DTVIO_FRONTEND_H
+#include <sys/types.h>
#include <sys/ioccom.h>
/*
diff --git a/sys/dev/i2c/i2c_io.h b/sys/dev/i2c/i2c_io.h
index 52e916eb155..eb63b77f9c5 100644
--- a/sys/dev/i2c/i2c_io.h
+++ b/sys/dev/i2c/i2c_io.h
@@ -1,4 +1,4 @@
-/* $NetBSD: i2c_io.h,v 1.3 2012/04/22 14:10:36 pgoyette Exp $ */
+/* $NetBSD: i2c_io.h,v 1.4 2017/10/28 06:27:32 riastradh Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -38,6 +38,7 @@
#ifndef _DEV_I2C_I2C_IO_H_
#define _DEV_I2C_I2C_IO_H_
+#include <sys/types.h>
#include <sys/ioccom.h>
/* I2C bus address. */
diff --git a/sys/dev/i2o/i2o.h b/sys/dev/i2o/i2o.h
index 67b3189f60e..be208550fe9 100644
--- a/sys/dev/i2o/i2o.h
+++ b/sys/dev/i2o/i2o.h
@@ -1,4 +1,4 @@
-/* $NetBSD: i2o.h,v 1.15 2008/09/08 23:36:54 gmcgarry Exp $ */
+/* $NetBSD: i2o.h,v 1.16 2017/10/28 06:27:32 riastradh Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -38,6 +38,9 @@
#ifndef _I2O_I2O_H_
#define _I2O_I2O_H_
+#include <sys/cdefs.h>
+#include <sys/types.h>
+
/*
* ================= Miscellaneous definitions =================
*/
diff --git a/sys/dev/i2o/iopio.h b/sys/dev/i2o/iopio.h
index c74df47b139..287643e41b8 100644
--- a/sys/dev/i2o/iopio.h
+++ b/sys/dev/i2o/iopio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: iopio.h,v 1.7 2015/09/06 06:01:00 dholland Exp $ */
+/* $NetBSD: iopio.h,v 1.8 2017/10/28 06:27:32 riastradh Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -32,6 +32,7 @@
#ifndef _I2O_IOPIO_H_
#define _I2O_IOPIO_H_
+#include <sys/types.h>
#include <sys/ioccom.h>
#define IOP_MAX_MSG_XFERS 3 /* Maximum transfer count per msg */
diff --git a/sys/dev/ic/athioctl.h b/sys/dev/ic/athioctl.h
index e55d390e576..1a3c273d770 100644
--- a/sys/dev/ic/athioctl.h
+++ b/sys/dev/ic/athioctl.h
@@ -1,4 +1,4 @@
-/* $NetBSD: athioctl.h,v 1.16 2015/09/06 06:01:00 dholland Exp $ */
+/* $NetBSD: athioctl.h,v 1.17 2017/10/28 06:27:32 riastradh Exp $ */
/*-
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -44,8 +44,13 @@
#ifndef _DEV_ATH_ATHIOCTL_H
#define _DEV_ATH_ATHIOCTL_H
+#include <sys/types.h>
#include <sys/ioccom.h>
+#include <net/if.h>
+
+#include <net80211/ieee80211_radiotap.h>
+
struct ath_stats {
u_int32_t ast_watchdog; /* device reset by watchdog */
u_int32_t ast_hardware; /* fatal hardware error interrupts */
diff --git a/sys/dev/ic/icp_ioctl.h b/sys/dev/ic/icp_ioctl.h
index 1b6093e0aa8..a244e315abb 100644
--- a/sys/dev/ic/icp_ioctl.h
+++ b/sys/dev/ic/icp_ioctl.h
@@ -1,4 +1,4 @@
-/* $NetBSD: icp_ioctl.h,v 1.6 2007/12/25 18:33:38 perry Exp $ */
+/* $NetBSD: icp_ioctl.h,v 1.7 2017/10/28 06:27:32 riastradh Exp $ */
/*
* Copyright (c) 2000-03 Intel Corporation
@@ -37,7 +37,10 @@
#ifndef _DEV_IC_ICP_IOCTL_H_
#define _DEV_IC_ICP_IOCTL_H_
+#include <sys/cdefs.h>
+#include <sys/types.h>
#include <sys/ioccom.h>
+
#include <dev/ic/icpreg.h>
#define GDT_SCRATCH_SZ 3072 /* 3KB scratch buffer */
diff --git a/sys/dev/ic/mlxio.h b/sys/dev/ic/mlxio.h
index 3c7456ed31d..47ed3eafb2c 100644
--- a/sys/dev/ic/mlxio.h
+++ b/sys/dev/ic/mlxio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mlxio.h,v 1.3 2002/08/26 17:02:15 ad Exp $ */
+/* $NetBSD: mlxio.h,v 1.4 2017/10/28 06:27:32 riastradh Exp $ */
/*-
* Copyright (c) 1999 Michael Smith
@@ -31,6 +31,7 @@
#ifndef _IC_MLXIO_H_
#define _IC_MLXIO_H_
+#include <sys/types.h>
#include <sys/ioccom.h>
/*