#include "config.h"
#endif /* HAVE_CONFIG_H */
-#ifdef NETBSD
-#define _XOPEN_SOURCE 500 /* for crypt() */
-#endif
-#ifdef FREEBSD
-#define _XOPEN_SOURCE /* for crypt() */
-#endif
+#include <atalk/standards.h>
#include <stdio.h>
#include <stdlib.h>
}
-static int uam_setup(const char *path)
+static int uam_setup(void *obj, const char *path)
{
if (uam_register(UAM_SERVER_LOGIN_EXT, path, "DHCAST128",
passwd_login, passwd_logincont, NULL, passwd_login_ext) < 0)