Mercurial > noffle
comparison src/authenticate.c @ 475:20abd71918ad noffle
[svn] * src/authenticate.c: Move includes of grp.h and pwd.h to after the
include of their pre-requisite headers. Spotted on MacOS X by Andre Berger.
author | bears |
---|---|
date | Tue, 16 Mar 2004 10:24:18 +0000 |
parents | bf200dccbce5 |
children |
comparison
equal
deleted
inserted
replaced
474:e63a3bc27a75 | 475:20abd71918ad |
---|---|
1 /* | 1 /* |
2 authenticate.c | 2 authenticate.c |
3 | 3 |
4 Do client authentication | 4 Do client authentication |
5 | 5 |
6 $Id: authenticate.c 423 2003-01-12 17:05:49Z bears $ | 6 $Id: authenticate.c 622 2004-03-16 10:24:18Z bears $ |
7 */ | 7 */ |
8 | 8 |
9 #if HAVE_CONFIG_H | 9 #if HAVE_CONFIG_H |
10 #include <config.h> | 10 #include <config.h> |
11 #endif | 11 #endif |
12 | 12 |
13 #include <errno.h> | 13 #include <errno.h> |
14 #include <grp.h> | |
15 #include <pwd.h> | |
16 #include <stdio.h> | 14 #include <stdio.h> |
17 #include <string.h> | 15 #include <string.h> |
18 #include <sys/types.h> | 16 #include <sys/types.h> |
19 #include <sys/stat.h> | 17 #include <sys/stat.h> |
20 #include <unistd.h> | 18 #include <unistd.h> |
19 #include <grp.h> | |
20 #include <pwd.h> | |
21 #include "common.h" | 21 #include "common.h" |
22 #include "authenticate.h" | 22 #include "authenticate.h" |
23 #include "configfile.h" | 23 #include "configfile.h" |
24 #include "log.h" | 24 #include "log.h" |
25 #include "portable.h" | 25 #include "portable.h" |