summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-18 17:49:41 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-18 17:49:41 +0200
commit33032d591f8e39edae0ce4b35ca1b6e25f04a04b (patch)
treec2a6bad2e09f49f8d6df4aeed9c1b77bad19b89f /lib/replace/replace.h
parent4f9b6fdce4340a1022f659daaa035d0336ff6b53 (diff)
downloadsamba-33032d591f8e39edae0ce4b35ca1b6e25f04a04b.tar.gz
samba-33032d591f8e39edae0ce4b35ca1b6e25f04a04b.tar.bz2
samba-33032d591f8e39edae0ce4b35ca1b6e25f04a04b.zip
Move ufc to libreplace.
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 4ac77e7270..57ebeb5d2f 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -628,4 +628,11 @@ typedef int bool;
#define MAX_DNS_NAME_LENGTH 256 /* Actually 255 but +1 for terminating null. */
#endif
+#ifndef HAVE_CRYPT
+char *ufc_crypt(const char *key, const char *salt);
+#define crypt ufc_crypt
+#else
+#include <crypt.h>
+#endif
+
#endif /* _LIBREPLACE_REPLACE_H */