protect the world from des_encrypt in crypt.h

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13614 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2004-03-22 17:30:24 +00:00
parent f5b17b4a81
commit b66d2709e0

View File

@@ -31,7 +31,10 @@ RCSID("$Id$");
#include <pwd.h>
#endif
#ifdef HAVE_CRYPT_H
#undef des_encrypt
#define des_encrypt wingless_pigs_mostly_fail_to_fly
#include <crypt.h>
#undef des_encrypt
#endif
#ifdef KRB5