summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-02-13 20:49:12 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-02-13 20:49:12 +0000
commitcbc6c3faf207a14c2c47fc8781d1316c2312fdd5 (patch)
treea84e292dc83d4c1bde6756caa0646ba52e4db24d /source3/include
parentd557ec04622a7c461e77f9a3aff27c2222f7beba (diff)
downloadsamba-cbc6c3faf207a14c2c47fc8781d1316c2312fdd5.tar.gz
samba-cbc6c3faf207a14c2c47fc8781d1316c2312fdd5.tar.bz2
samba-cbc6c3faf207a14c2c47fc8781d1316c2312fdd5.zip
Fixed inclusion of crypt.h bug when libdes is being used on Solaris
only. jra@cygnus.com (This used to be commit c189ef38455653334b8414f30d0aeaa3ecefa202)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 0e93df35fd..a8653d0978 100644
--- a/source3/include/includes.h
+++ b/source3/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 *);