summaryrefslogtreecommitdiff
path: root/src/mesa/main/hash_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/hash_table.c')
-rw-r--r--src/mesa/main/hash_table.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/hash_table.c b/src/mesa/main/hash_table.c
index 2bd1929aa9d..af0510da105 100644
--- a/src/mesa/main/hash_table.c
+++ b/src/mesa/main/hash_table.c
@@ -44,10 +44,9 @@
#include <string.h>
#include "main/hash_table.h"
+#include "main/macros.h"
#include "ralloc.h"
-#define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0]))
-
static const uint32_t deleted_key_value;
/**