From: VMware, Inc <> Date: Mon, 26 Jul 2010 19:26:18 +0000 (-0700) Subject: Fix Solaris open-vm-tools build. X-Git-Tag: 2010.07.25-280253~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a58460dd277b35e5572f6c6344efdebbfdca23b6;p=thirdparty%2Fopen-vm-tools.git Fix Solaris open-vm-tools build. Need to include crypt.h to get crypt(3). Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/auth/authPosix.c b/open-vm-tools/lib/auth/authPosix.c index 02141d7af..77016a9d4 100644 --- a/open-vm-tools/lib/auth/authPosix.c +++ b/open-vm-tools/lib/auth/authPosix.c @@ -36,6 +36,10 @@ # include #endif +#if defined(HAVE_CONFIG_H) || defined(sun) +# include +#endif + #define LOGLEVEL_MODULE auth #include "loglevel_user.h"