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
This commit is contained in:
Warner Losh 2021-05-20 11:26:46 -06:00
parent 0cc7d64a2a
commit d0ea5e467f

View File

@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$");
#include <sha512.h> #include <sha512.h>
#include <sha512t.h> #include <sha512t.h>
#include <skein.h> #include <skein.h>
#include <stdbool.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>