summaryrefslogtreecommitdiffstats
path: root/text-utils/more.c
diff options
context:
space:
mode:
authorFrançois Revol2010-07-26 11:41:04 +0200
committerKarel Zak2010-07-26 11:41:04 +0200
commit1bf4407a1d40e5a87f9cfbb44116ce52adce9ef8 (patch)
tree3210eb0f9f1e3775012b69b2378d212d9a37c1ae /text-utils/more.c
parentfdisk: fix use of non portable type (diff)
downloadkernel-qcow2-util-linux-1bf4407a1d40e5a87f9cfbb44116ce52adce9ef8.tar.gz
kernel-qcow2-util-linux-1bf4407a1d40e5a87f9cfbb44116ce52adce9ef8.tar.xz
kernel-qcow2-util-linux-1bf4407a1d40e5a87f9cfbb44116ce52adce9ef8.zip
portability: use standard constants
Signed-off-by: François Revol <revol@free.fr> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/more.c')
-rw-r--r--text-utils/more.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/text-utils/more.c b/text-utils/more.c
index 2eedfbe1a..20efc28d6 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -62,6 +62,10 @@
#include <regex.h>
#undef _REGEX_RE_COMP
+#ifndef XTABS
+#define XTABS TAB3
+#endif
+
#define VI "vi" /* found on the user's path */
#define Fopen(s,m) (Currline = 0,file_pos=0,fopen(s,m))