aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-03-24 18:54:41 +0000
committerFabian Groffen <grobian@gentoo.org>2009-03-24 18:54:41 +0000
commitf7f2c3f5570cfe37db204aa330ff808f74bcea5b (patch)
treeb400936d68a3706e0642d1722620a0e545f3473c /qsize.c
parentportage-utils-0.1.29-aix.patch (diff)
downloadportage-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.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/qsize.c b/qsize.c
index 2b46e94..2b7a45b 100644
--- a/qsize.c
+++ b/qsize.c
@@ -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;