diff --git a/compat/crypt/sha256.c b/compat/crypt/sha256.c index 73c43c03..ccc00a4b 100644 --- a/compat/crypt/sha256.c +++ b/compat/crypt/sha256.c @@ -24,8 +24,12 @@ * SUCH DAMAGE. */ -#include +/* For BSD */ +#if (defined(__unix__) || defined(unix)) && !defined(USG) +#include +#endif +#include #include #ifdef __GLIBC__