From b6534e4fd8d55e1e5127aaeb80537e002e83227b Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 16 Oct 2009 01:01:48 +0200 Subject: chrt: use c.h Signed-off-by: Karel Zak --- schedutils/chrt.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'schedutils/chrt.c') 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 #include +#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, _( -- cgit v1.2.3-55-g7522