[Mesa-dev] [PATCH 01/13] util: Include assert.h in macros.h.

Matt Turner mattst88 at gmail.com
Mon Nov 23 13:55:30 PST 2015


---
 src/util/macros.h | 2 ++
 1 file changed, 2 insertions(+)

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



More information about the mesa-dev mailing list