]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix Solaris open-vm-tools build.
authorVMware, Inc <>
Mon, 26 Jul 2010 19:26:18 +0000 (12:26 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 26 Jul 2010 19:26:18 +0000 (12:26 -0700)
Need to include crypt.h to get crypt(3).

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/auth/authPosix.c

index 02141d7af313058af766d6c51e268d41066b9410..77016a9d48eab765a1340f97d5b6f8f15d8c5bc5 100644 (file)
 #  include <dlfcn.h>
 #endif
 
+#if defined(HAVE_CONFIG_H) || defined(sun)
+#  include <crypt.h>
+#endif
+
 #define LOGLEVEL_MODULE auth
 #include "loglevel_user.h"