mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
moved compat.h to be the last include file
This commit is contained in:
3
getcwd.c
3
getcwd.c
@@ -31,7 +31,6 @@ static char rcsid[] = "$Id$";
|
|||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "compat.h"
|
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -56,6 +55,8 @@ static char rcsid[] = "$Id$";
|
|||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
|
||||||
#ifndef STDC_HEADERS
|
#ifndef STDC_HEADERS
|
||||||
#ifndef __GNUC__ /* gcc has its own malloc */
|
#ifndef __GNUC__ /* gcc has its own malloc */
|
||||||
extern char *malloc __P((size_t));
|
extern char *malloc __P((size_t));
|
||||||
|
3
getwd.c
3
getwd.c
@@ -31,7 +31,6 @@ static char rcsid[] = "$Id$";
|
|||||||
#endif /* lint */
|
#endif /* lint */
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "compat.h"
|
|
||||||
#include "pathnames.h"
|
#include "pathnames.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -56,6 +55,8 @@ static char rcsid[] = "$Id$";
|
|||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
|
||||||
#ifndef STDC_HEADERS
|
#ifndef STDC_HEADERS
|
||||||
#ifndef __GNUC__ /* gcc has its own malloc */
|
#ifndef __GNUC__ /* gcc has its own malloc */
|
||||||
extern char *malloc __P((size_t));
|
extern char *malloc __P((size_t));
|
||||||
|
Reference in New Issue
Block a user