summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usbdi.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-06 23:51:05 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-03-06 23:51:05 +0000
commit4ba75e622b750f080153d58dc236f862a14e2eb7 (patch)
tree041467f83e34073a6ca35b6ec2e158aa64b0a926 /sys/dev/usb/usbdi.h
parent2c2a2223932e1b995d9c56d1265be52f99665f6b (diff)
Add include guards.
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r--sys/dev/usb/usbdi.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index 68dbf2d64f4..461c430fcc0 100644
--- a/sys/dev/usb/usbdi.h
+++ b/sys/dev/usb/usbdi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbdi.h,v 1.60 2013/11/19 14:04:07 pirofti Exp $ */
+/* $OpenBSD: usbdi.h,v 1.61 2014/03/06 23:51:04 mpi Exp $ */
/* $NetBSD: usbdi.h,v 1.62 2002/07/11 21:14:35 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbdi.h,v 1.18 1999/11/17 22:33:49 n_hibma Exp $ */
@@ -32,6 +32,9 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _USBDI_H_
+#define _USBDI_H_
+
struct usbd_bus;
struct usbd_device;
struct usbd_interface;
@@ -256,3 +259,5 @@ struct usb_attach_arg {
#endif
#define splhardusb splbio
#define IPL_USB IPL_BIO
+
+#endif /* _USBDI_H_ */