aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/hash_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/hash_table.c')
-rw-r--r--mesalib/src/mesa/main/hash_table.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesalib/src/mesa/main/hash_table.c b/mesalib/src/mesa/main/hash_table.c
index 2bd1929aa..af0510da1 100644
--- a/mesalib/src/mesa/main/hash_table.c
+++ b/mesalib/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;
/**