projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fafbf99
)
util: Include assert.h in macros.h.
author
Matt Turner
<mattst88@gmail.com>
Sun, 22 Nov 2015 23:28:25 +0000
(15:28 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 24 Nov 2015 18:05:32 +0000
(10:05 -0800)
src/util/macros.h
patch
|
blob
|
history
diff --git
a/src/util/macros.h
b/src/util/macros.h
index 84e4f182bcf644092b60eeefedf219e2f600680d..5014b918b5ad593f475bd4ec3bf34511700f8e4e 100644
(file)
--- 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)))