Date: Tue, 6 Jul 2021 15:38:49 GMT From: =?utf-8?Q?Stefan E=C3=9Fer?= <se@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 04beb393e366 - stable/12 - md5: portability fix -- include stdbool.h explicitly Message-ID: <202107061538.166FcnVo065498@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=04beb393e36691f415fbaf1746d4b981784ab734 commit 04beb393e36691f415fbaf1746d4b981784ab734 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2021-05-20 17:26:46 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2021-07-06 15:38:03 +0000 md5: portability fix -- include stdbool.h explicitly stdbool.h needs to be included to use type bool variables. Due to namespace pollution, this gets brought in on FreeBSD, but not on other systems. Include it explicilty. Noticed by: arichards@ Sponsored by: Netflix --- sbin/md5/md5.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c index 4381ef124c7b..e553d4c56e85 100644 --- a/sbin/md5/md5.c +++ b/sbin/md5/md5.c @@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$"); #include <sha512.h> #include <sha512t.h> #include <skein.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107061538.166FcnVo065498>