]> code.citadel.org Git - citadel.git/blobdiff - citadel/utils/auth.c
I can't see the screen with my sunglasses on
[citadel.git] / citadel / utils / auth.c
index ead5f54b5a8f31904d8c835eaf4e077285a3d4bd..05914eb3c648e43262e97f1ce792cd3de18b19e7 100644 (file)
@@ -1,12 +1,9 @@
 // system-level password checking for host auth mode
-// by Nathan Bryant, March 1999
-// updated by Trey van Riper, June 2005
 //
-// Copyright (c) 1999-2016 by the citadel.org team
+// Copyright (c) 1999-2022 by Nathan Bryant, Trey Van Riper, and the citadel.org team
 //
 // This program is open source software.  Use, duplication, or disclosure
 // is subject to the terms of the GNU General Public License, version 3.
-// The program is distributed without any warranty, expressed or implied.
 
 #if defined(__linux) || defined(__sun) // needed for crypt():
 #define _XOPEN_SOURCE
 #include <string.h>
 #include <unistd.h>
 #include <sys/types.h>
+#include <crypt.h>
 
 #include "auth.h"
-#include "sysdep.h"
+#include "../server/sysdep.h"
 
 #ifdef HAVE_GETSPNAM
 #include <shadow.h>