summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--schedutils/chrt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/schedutils/chrt.c b/schedutils/chrt.c
index 7d6bb2dbc..6728ad3a0 100644
--- a/schedutils/chrt.c
+++ b/schedutils/chrt.c
@@ -29,6 +29,7 @@
#include <errno.h>
#include <err.h>
+#include "c.h"
#include "nls.h"
/* the SCHED_BATCH is supported since Linux 2.6.16
@@ -46,10 +47,6 @@
# define SCHED_IDLE 5
#endif
-#ifndef ARRAY_SIZE
-# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-#endif
-
static void show_usage(int rc)
{
fprintf(stdout, _(