aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/set.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/set.c')
-rw-r--r--mesalib/src/mesa/main/set.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesalib/src/mesa/main/set.c b/mesalib/src/mesa/main/set.c
index 736841fc9..2519b9694 100644
--- a/mesalib/src/mesa/main/set.c
+++ b/mesalib/src/mesa/main/set.c
@@ -34,11 +34,10 @@
#include <stdlib.h>
+#include "macros.h"
#include "set.h"
#include "ralloc.h"
-#define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0]))
-
/*
* From Knuth -- a good choice for hash/rehash values is p, p-2 where
* p and p-2 are both prime. These tables are sized to have an extra 10%