summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:35:36 +0300
committerIgor Pashev <pashev.igor@gmail.com>2012-01-22 01:35:36 +0300
commita3751899f6b90424e5e78be34023645443d7f9fb (patch)
tree54bd7f42e2ff8e8d95979675ba76bac4bb6c0b67
parent5303f127b29d888021061730e3d7082df54f3b10 (diff)
downloadutil-linux-old-a3751899f6b90424e5e78be34023645443d7f9fb.tar.gz
Define u_quad_t and quad_t
-rw-r--r--text-utils/display.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/text-utils/display.c b/text-utils/display.c
index 7a35e46f..91134081 100644
--- a/text-utils/display.c
+++ b/text-utils/display.c
@@ -48,6 +48,14 @@ static u_char *get(void);
#define MIN(a,b) ((a)<(b)?(a):(b))
#endif
+#ifndef u_quad_t
+#define u_quad_t unsigned long long int
+#endif
+/* There is quad_t for UFS, but it is a structure */
+#ifndef quad_t
+#define quad_t long long int
+#endif
+
enum _vflag vflag = FIRST;
static off_t address; /* address/offset in stream */