aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-12-01 01:18:59 +0000
committerWarner Losh <imp@FreeBSD.org>2023-12-01 01:32:39 +0000
commit0f83811158e8bc0ac4a9ab5808abecfb2ad6c0e6 (patch)
tree1372bd672f22b5905fb33812d23efb48e5bc7d6c
parent54521a6fe672d1c3ff79951bba71e6e3827b4d55 (diff)
downloadsrc-0f83811158e8bc0ac4a9ab5808abecfb2ad6c0e6.tar.gz
src-0f83811158e8bc0ac4a9ab5808abecfb2ad6c0e6.zip
cam: Make cam.h self-contained for userland
We reference FILE * here, but don't include stdio.h. Do so (both of these are in !_KERNEL blocks). Sponsored by: Netflix
-rw-r--r--sys/cam/cam.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/cam.h b/sys/cam/cam.h
index 692f515aa1aa..963c9798ddbc 100644
--- a/sys/cam/cam.h
+++ b/sys/cam/cam.h
@@ -37,6 +37,7 @@
#ifndef _KERNEL
#include <stdbool.h>
+#include <stdio.h>
#endif
typedef u_int path_id_t;