From 32242e7e10276157533def1c92c4c720945510fc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 9 Feb 2009 21:48:48 +0000 Subject: unify the headers/random defines into porting.h to avoid duplication/rot --- utils/chroot_realpath.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'utils/chroot_realpath.c') diff --git a/utils/chroot_realpath.c b/utils/chroot_realpath.c index ff1d85d7f..82ccbf691 100644 --- a/utils/chroot_realpath.c +++ b/utils/chroot_realpath.c @@ -20,23 +20,7 @@ * 2005/09/12: Dan Howell (modified from realpath.c to emulate chroot) */ -#ifdef HAVE_CONFIG_H -#include -#endif - -#include -#include -#include -#include -#include -#include /* for PATH_MAX */ -#include /* for MAXPATHLEN */ -#include -#include /* for S_IFLNK */ - -#ifndef PATH_MAX -#define PATH_MAX _POSIX_PATH_MAX -#endif +#include "porting.h" #define MAX_READLINKS 32 -- cgit v1.2.3