libifupdown: move ARRAY_SIZE() declaration from multicall
This commit is contained in:
parent
56323828a9
commit
eeb40fc689
2 changed files with 4 additions and 2 deletions
|
@ -28,4 +28,8 @@
|
|||
#include "libifupdown/lifecycle.h"
|
||||
#include "libifupdown/tokenize.h"
|
||||
|
||||
#ifndef ARRAY_SIZE
|
||||
# define ARRAY_SIZE(x) (sizeof(x) / sizeof(*x))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue