summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-07-20 12:34:53 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-07-20 12:34:53 +0000
commit8e0aecedc0f5db86c589d5e919b2f8e8263fd593 (patch)
tree9fc1907c287ac972d3b7ad664503c21dc602d5e5 /sys
parentf741e0769e29f3008458e3a1394faba128b9c179 (diff)
UVIDEO_DEBUG needs fcntl.h
reported by Peter J. Philipp
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/uvideo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/uvideo.c b/sys/dev/usb/uvideo.c
index b24fd8e5d07..5793a9ec661 100644
--- a/sys/dev/usb/uvideo.c
+++ b/sys/dev/usb/uvideo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvideo.c,v 1.220 2024/05/23 03:21:09 jsg Exp $ */
+/* $OpenBSD: uvideo.c,v 1.221 2024/07/20 12:34:52 jsg Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -177,6 +177,7 @@ usbd_status uvideo_usb_control(struct uvideo_softc *, uint8_t, uint8_t,
#include <sys/namei.h>
#include <sys/proc.h>
#include <sys/vnode.h>
+#include <sys/fcntl.h>
void uvideo_dump_desc_all(struct uvideo_softc *);
void uvideo_dump_desc_vc_header(struct uvideo_softc *,