From 6bd922e1540aaca1e258493f429b628110799c3b Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 19 Jun 2023 14:52:58 -0600 Subject: [PATCH] camcontrol: Include stdbool.h rather than relying on namespace pollution I have several environments, and at least one of them fails to build because bool is undefined. Since we use bool, always include stdbool.h rather than relying on any indirect definitions to pull it in. Sponsored by: Netflix --- sbin/camcontrol/camcontrol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index 4856122a0c07..fb567b6829a4 100644 --- a/sbin/camcontrol/camcontrol.c +++ b/sbin/camcontrol/camcontrol.c @@ -36,6 +36,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #include #include #include