summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2015-11-22 15:28:25 -0800
committerMatt Turner <[email protected]>2015-11-24 10:05:32 -0800
commitd956335a0b533351edb547c974c601e3529c2037 (patch)
treeb18ba55900a23864ab7c05d74ec0222597d49b51 /src/util
parentfafbf994cf6f4b6254226cdb0764cce7615f733d (diff)
util: Include assert.h in macros.h.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/macros.h b/src/util/macros.h
index 84e4f182bcf..5014b918b5a 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -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)))