diff options
author | Warner Losh <imp@FreeBSD.org> | 2021-05-20 17:26:46 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2021-05-20 17:28:18 +0000 |
commit | d0ea5e467f3c44909667c5ee90c3d26653fb6687 (patch) | |
tree | 5fe365a94ec658a48883f3d115e1f0a20bedb411 /sbin | |
parent | 0cc7d64a2a37533afe03d2b640dc107be41b5f56 (diff) | |
download | src-d0ea5e467f3c44909667c5ee90c3d26653fb6687.tar.gz src-d0ea5e467f3c44909667c5ee90c3d26653fb6687.zip |
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
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/md5/md5.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |