diff options
author | 2009-03-24 18:54:41 +0000 | |
---|---|---|
committer | 2009-03-24 18:54:41 +0000 | |
commit | f7f2c3f5570cfe37db204aa330ff808f74bcea5b (patch) | |
tree | b400936d68a3706e0642d1722620a0e545f3473c /qsize.c | |
parent | portage-utils-0.1.29-aix.patch (diff) | |
download | portage-utils-f7f2c3f5570cfe37db204aa330ff808f74bcea5b.tar.gz portage-utils-f7f2c3f5570cfe37db204aa330ff808f74bcea5b.tar.bz2 portage-utils-f7f2c3f5570cfe37db204aa330ff808f74bcea5b.zip |
portage-utils-0.1.29-interix.patch
Interix needs an extra define to compile this
Diffstat (limited to 'qsize.c')
-rw-r--r-- | qsize.c | 8 |
1 files changed, 6 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.29 2009/03/24 18:53:33 grobian Exp $ + * $Header: /var/cvsroot/gentoo-projects/portage-utils/qsize.c,v 1.30 2009/03/24 18:54:41 grobian Exp $ * * Copyright 2005-2007 Ned Ludd - <solar@gentoo.org> * Copyright 2005-2007 Mike Frysinger - <vapier@gentoo.org> @@ -32,7 +32,7 @@ static const char *qsize_opts_help[] = { "Ignore regexp string", COMMON_OPTS_HELP }; -static const char qsize_rcsid[] = "$Id: qsize.c,v 1.29 2009/03/24 18:53:33 grobian Exp $"; +static const char qsize_rcsid[] = "$Id: qsize.c,v 1.30 2009/03/24 18:54:41 grobian Exp $"; #define qsize_usage(ret) usage(ret, QSIZE_FLAGS, qsize_long_opts, qsize_opts_help, lookup_applet_idx("qsize")) #ifdef _AIX @@ -40,6 +40,10 @@ static const char qsize_rcsid[] = "$Id: qsize.c,v 1.29 2009/03/24 18:53:33 grobi # define S_BLKSIZE DEV_BSIZE #endif +#ifdef __INTERIX +# define S_BLKSIZE S_BLOCK_SIZE +#endif + int qsize_main(int argc, char **argv) { DIR *dir, *dirp; |