From becc79d5b6541f5f4192c460b46864381d49bed6 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Fri, 16 Oct 2009 01:00:27 +0200 Subject: [PATCH] ldattach: use c.h Signed-off-by: Karel Zak --- sys-utils/ldattach.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys-utils/ldattach.c b/sys-utils/ldattach.c index 19f70fe6..b4563aee 100644 --- a/sys-utils/ldattach.c +++ b/sys-utils/ldattach.c @@ -25,6 +25,7 @@ #include #include +#include "c.h" #include "nls.h" #define dbg(format, arg...) \ @@ -38,10 +39,6 @@ # define N_PPS 18 #endif -#ifndef ARRAY_SIZE -# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) -#endif - /* attach a line discipline ioctl */ #ifndef TIOCSETD # define TIOCSETD 0x5423 -- 2.39.5