From: Sam James Date: Wed, 30 Jun 2021 08:09:19 +0100 Subject: [PATCH] Add various missing includes --- a/pamsmbd/md5.c +++ b/pamsmbd/md5.c @@ -39,6 +39,7 @@ */ #include "md5.h" +#include #ifdef TEST /* @@ -46,7 +47,6 @@ * The test program should print out the same values as given in section * A.5 of RFC 1321, reproduced below. */ -#include main() { static const char *const test[7] = { --- a/pamsmbd/md5driver.c +++ b/pamsmbd/md5driver.c @@ -38,6 +38,7 @@ Bug reports and feature requests should be sent to bugs@zetetic.net. */ #include +#include #include "constants.h" #include "md5.h" #include "md5driver.h" --- a/smbval/session.c +++ b/smbval/session.c @@ -22,11 +22,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#if defined(__FreeBSD__) || defined(__APPLE__) #include -#else #include -#endif #include int RFCNB_errno = 0; --- a/smbval/smblib-util.c +++ b/smbval/smblib-util.c @@ -23,6 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include #include "smblib-priv.h" #if defined(__FreeBSD__) || defined(__APPLE__) #include --- a/smbval/smblib.c +++ b/smbval/smblib.c @@ -25,6 +25,7 @@ */ #include "config.h" +#include #include #if defined(__FreeBSD__) || defined(__APPLE__) #include -- 2.32.0