util: Include assert.h in macros.h.

This commit is contained in:
Matt Turner 2015-11-22 15:28:25 -08:00
parent fafbf994cf
commit d956335a0b
1 changed files with 2 additions and 0 deletions

View File

@ -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)))