/*
- * $Id: uams_dhx_passwd.c,v 1.18.6.3 2003-10-30 00:21:47 bfernhomberg Exp $
+ * $Id: uams_dhx_passwd.c,v 1.18.6.4 2003-10-30 06:43:44 bfernhomberg Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* Copyright (c) 1999 Adrian Sun (asun@u.washington.edu)
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
-#define _XOPEN_SOURCE /* for crypt() */
+#define _XOPEN_SOURCE 500 /* for crypt() */
#include <stdio.h>
#include <stdlib.h>
/*
- * $Id: uams_passwd.c,v 1.19.2.1.2.3 2003-10-30 00:21:47 bfernhomberg Exp $
+ * $Id: uams_passwd.c,v 1.19.2.1.2.4 2003-10-30 06:43:45 bfernhomberg Exp $
*
* Copyright (c) 1990,1993 Regents of The University of Michigan.
* Copyright (c) 1999 Adrian Sun (asun@u.washington.edu)
* All Rights Reserved. See COPYRIGHT.
*/
-#define _XOPEN_SOURCE /* for crypt() */
+#define _XOPEN_SOURCE 500 /* for crypt() */
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef HAVE_TIME_H
#include <time.h>
#endif
-#ifdef SOLARIS
-#define SHADOWPW
-#endif /* SOLARIS */
#ifdef SHADOWPW
#include <shadow.h>
#endif /* SHADOWPW */
-#include <atalk/logger.h>
#include <atalk/afp.h>
+#include <atalk/logger.h>
#include <atalk/uam.h>
#define PASSWDLEN 8