--- cyrus-sasl-2.1.22/saslauthd/auth_shadow.c	2006-04-19 21:36:36.000000000 +0200
+++ cyrus-sasl-2.1.22-new/saslauthd/auth_shadow.c	2006-05-22 13:21:31.000000000 +0200
@@ -45,6 +45,7 @@
 # include <time.h>
 # include <pwd.h>
 # include <syslog.h>
+# include <crypt.h>
 # ifndef HAVE_GETSPNAM
 
 # ifdef WITH_DES
