diff options
-rw-r--r-- | sys-utils/ldattach.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys-utils/ldattach.c b/sys-utils/ldattach.c index 19f70fe62..b4563aee9 100644 --- a/sys-utils/ldattach.c +++ b/sys-utils/ldattach.c @@ -25,6 +25,7 @@ #include <unistd.h> #include <err.h> +#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 |