summaryrefslogtreecommitdiff
path: root/src/fmt.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-06-22 03:59:55 +0000
committerJim Meyering <jim@meyering.net>1995-06-22 03:59:55 +0000
commite7d420aabb59d95038c0f534a06782888328783c (patch)
treeedb89166641ec4c91774ebcab0d7624bff0aabfc /src/fmt.c
parent3f7672063601735d4a5fb42eb9cf59c9f2c588ee (diff)
downloadcoreutils-e7d420aabb59d95038c0f534a06782888328783c.tar.xz
[word]: Redefine. Otherwise, systems (Unicos for one) with
headers that define `word' to be a type get syntax errors because of the variable by the same name.
Diffstat (limited to 'src/fmt.c')
-rw-r--r--src/fmt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fmt.c b/src/fmt.c
index 98e5080e2..7545081b2 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -23,6 +23,10 @@
#include <sys/types.h>
#include <getopt.h>
+/* Redefine. Otherwise, systems (Unicos for one) with headers that define
+ it to be a type get syntax errors for the variable declaration below. */
+#define word unused_word_type
+
#include "system.h"
#include "version.h"
#include "error.h"