diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-02-13 20:49:12 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-02-13 20:49:12 +0000 |
commit | c189ef38455653334b8414f30d0aeaa3ecefa202 (patch) | |
tree | 6f3f48d514f3668eff1ad30ce6fd0f631d4c756e /source/include | |
parent | 64a16d9c2aae0405437f28dbb00e68080c09a7a1 (diff) | |
download | samba-c189ef38455653334b8414f30d0aeaa3ecefa202.tar.gz samba-c189ef38455653334b8414f30d0aeaa3ecefa202.tar.xz samba-c189ef38455653334b8414f30d0aeaa3ecefa202.zip |
Fixed inclusion of crypt.h bug when libdes is being used on Solaris
only.
jra@cygnus.com
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/includes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index 0e93df35fd2..a8653d09788 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -290,8 +290,10 @@ typedef unsigned short mode_t; #include <string.h> #include <arpa/inet.h> #include <rpcsvc/ypclnt.h> -#include <crypt.h> #include <termios.h> +#ifndef USE_LIBDES +#include <crypt.h> +#endif /* USE_LIBDES */ extern int gettimeofday (struct timeval *, void *); extern int gethostname (char *name, int namelen); extern int innetgr (const char *, const char *, const char *, const char *); |