summaryrefslogtreecommitdiffstats
path: root/src/util/macros.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2015-11-22 15:28:25 -0800
committerMatt Turner <mattst88@gmail.com>2015-11-24 10:05:32 -0800
commitd956335a0b533351edb547c974c601e3529c2037 (patch)
treeb18ba55900a23864ab7c05d74ec0222597d49b51 /src/util/macros.h
parentfafbf994cf6f4b6254226cdb0764cce7615f733d (diff)
downloadexternal_mesa3d-d956335a0b533351edb547c974c601e3529c2037.zip
external_mesa3d-d956335a0b533351edb547c974c601e3529c2037.tar.gz
external_mesa3d-d956335a0b533351edb547c974c601e3529c2037.tar.bz2
util: Include assert.h in macros.h.
Diffstat (limited to 'src/util/macros.h')
-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 84e4f18..5014b91 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)))