UVIDEO_DEBUG needs fcntl.h
authorjsg <jsg@openbsd.org>
Sat, 20 Jul 2024 12:34:52 +0000 (12:34 +0000)
committerjsg <jsg@openbsd.org>
Sat, 20 Jul 2024 12:34:52 +0000 (12:34 +0000)
reported by Peter J. Philipp

sys/dev/usb/uvideo.c

index b24fd8e..5793a9e 100644 (file)
@@ -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 *,