diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-20 10:38:03 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-20 10:38:03 +0200 |
commit | 620a27bdf140e5e9091cc922f62b6fd12b12330e (patch) | |
tree | 5e0b4725caee8c9e8d4b18caa4210f201d7742e2 /lib/replace/replace.h | |
parent | e549759efe0b782106e6892685e0494376e592ff (diff) | |
download | samba-620a27bdf140e5e9091cc922f62b6fd12b12330e.tar.gz samba-620a27bdf140e5e9091cc922f62b6fd12b12330e.tar.xz samba-620a27bdf140e5e9091cc922f62b6fd12b12330e.zip |
Don't assume crypt.h is present even if crypt() is.
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r-- | lib/replace/replace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 57ebeb5d2f0..af1208a8fc2 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -632,7 +632,9 @@ typedef int bool; char *ufc_crypt(const char *key, const char *salt); #define crypt ufc_crypt #else +#ifdef HAVE_CRYPT_H #include <crypt.h> #endif +#endif #endif /* _LIBREPLACE_REPLACE_H */ |