util: Include assert.h in macros.h.
This commit is contained in:
parent
fafbf994cf
commit
d956335a0b
|
@ -24,6 +24,8 @@
|
|||
#ifndef UTIL_MACROS_H
|
||||
#define UTIL_MACROS_H
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
/* Compute the size of an array */
|
||||
#ifndef ARRAY_SIZE
|
||||
# define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
|
||||
|
|
Loading…
Reference in New Issue