summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index fdfd1d3d37..59d43d8a36 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -674,6 +674,11 @@ int setresuid(uid_t ruid, uid_t euid, uid_t suid);
int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
#endif
+#if (defined(HAVE_CRYPT) && !defined(HAVE_CRYPT_DECL))
+/* stupid glibc */
+int crypt(const char *key, const char *salt);
+#endif
+
#if !defined(HAVE_BZERO) && defined(HAVE_MEMSET)
#define bzero(a,b) memset((a),'\0',(b))
#endif