summaryrefslogtreecommitdiffstats
path: root/text-utils
diff options
context:
space:
mode:
Diffstat (limited to 'text-utils')
-rw-r--r--text-utils/column.c2
-rw-r--r--text-utils/rev.c2
-rw-r--r--text-utils/tailf.c2
-rw-r--r--text-utils/ul.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/text-utils/column.c b/text-utils/column.c
index 156de7059..5c6db257e 100644
--- a/text-utils/column.c
+++ b/text-utils/column.c
@@ -47,12 +47,12 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
-#include <err.h>
#include <errno.h>
#include <getopt.h>
#include "nls.h"
#include "widechar.h"
+#include "c.h"
#ifdef HAVE_WIDECHAR
#define wcs_width(s) wcswidth(s,wcslen(s))
diff --git a/text-utils/rev.c b/text-utils/rev.c
index b69244971..89e5e5855 100644
--- a/text-utils/rev.c
+++ b/text-utils/rev.c
@@ -55,12 +55,12 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <err.h>
#include <signal.h>
#include "nls.h"
#include "xalloc.h"
#include "widechar.h"
+#include "c.h"
wchar_t *buf;
diff --git a/text-utils/tailf.c b/text-utils/tailf.c
index 2dcdba3f3..c995d979c 100644
--- a/text-utils/tailf.c
+++ b/text-utils/tailf.c
@@ -35,7 +35,6 @@
#include <fcntl.h>
#include <ctype.h>
#include <errno.h>
-#include <err.h>
#ifdef HAVE_INOTIFY_INIT
#include <sys/inotify.h>
#endif
@@ -43,6 +42,7 @@
#include "nls.h"
#include "xalloc.h"
#include "usleep.h"
+#include "c.h"
#define DEFAULT_LINES 10
diff --git a/text-utils/ul.c b/text-utils/ul.c
index 30f24e9d5..dc0550cc0 100644
--- a/text-utils/ul.c
+++ b/text-utils/ul.c
@@ -47,12 +47,12 @@
#include <stdlib.h> /* for getenv() */
#include <limits.h> /* for INT_MAX */
#include <signal.h> /* for signal() */
-#include <err.h>
#include <errno.h>
#include "nls.h"
#include "xalloc.h"
#include "widechar.h"
+#include "c.h"
#ifdef HAVE_WIDECHAR
static int put1wc(int c) /* Output an ASCII character as a wide character */