diff options
author | 2009-03-24 18:53:33 +0000 | |
---|---|---|
committer | 2009-03-24 18:53:33 +0000 | |
commit | d62a6f875b850a97e8707a1479de646cdd3d40e5 (patch) | |
tree | fbdf7d7da56efb6a083b5dfa5426068b46baf02c /qsize.c | |
parent | portage-utils-0.1.29-darwin.patch (diff) | |
download | portage-utils-d62a6f875b850a97e8707a1479de646cdd3d40e5.tar.gz portage-utils-d62a6f875b850a97e8707a1479de646cdd3d40e5.tar.bz2 portage-utils-d62a6f875b850a97e8707a1479de646cdd3d40e5.zip |
portage-utils-0.1.29-aix.patch
AIX needs some extra defines to properly compile this
Diffstat (limited to 'qsize.c')
-rw-r--r-- | qsize.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* * Copyright 2005-2007 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/qsize.c,v 1.28 2007/11/04 09:03:42 solar Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/qsize.c,v 1.29 2009/03/24 18:53:33 grobian Exp $ * * Copyright 2005-2007 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org> @@ -32,9 +32,14 @@ static const char *qsize_opts_help[] = { "Ignore regexp string", COMMON_OPTS_HELP }; -static const char qsize_rcsid[] = "$Id: qsize.c,v 1.28 2007/11/04 09:03:42 solar Exp $"; +static const char qsize_rcsid[] = "$Id: qsize.c,v 1.29 2009/03/24 18:53:33 grobian Exp $"; #define qsize_usage(ret) usage(ret, QSIZE_FLAGS, qsize_long_opts, qsize_opts_help, lookup_applet_idx("qsize")) +#ifdef _AIX +# include <sys/stat.h> +# define S_BLKSIZE DEV_BSIZE +#endif + int qsize_main(int argc, char **argv) { DIR *dir, *dirp; |