diff options
author | Warner Losh <imp@FreeBSD.org> | 2023-06-19 20:52:58 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2023-06-19 20:54:32 +0000 |
commit | 6bd922e1540aaca1e258493f429b628110799c3b (patch) | |
tree | 0964ab4fe8651f57ecd67d86808fca2dc3a6ad5d /sbin/camcontrol | |
parent | 90f05f68407735531108b45eb105f8088bbaa1a5 (diff) | |
download | src-6bd922e1540aaca1e258493f429b628110799c3b.tar.gz src-6bd922e1540aaca1e258493f429b628110799c3b.zip |
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
Diffstat (limited to 'sbin/camcontrol')
-rw-r--r-- | sbin/camcontrol/camcontrol.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <sys/endian.h> #include <sys/sbuf.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> |