summaryrefslogtreecommitdiff
path: root/tests/modetest/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modetest/cursor.c')
-rw-r--r--tests/modetest/cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modetest/cursor.c b/tests/modetest/cursor.c
index d8a19bd2..6de82a4a 100644
--- a/tests/modetest/cursor.c
+++ b/tests/modetest/cursor.c
@@ -40,11 +40,11 @@
#include "xf86drm.h"
#include "xf86drmMode.h"
+#include "util/common.h"
+
#include "buffers.h"
#include "cursor.h"
-#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-
struct cursor {
int fd;
uint32_t bo_handle;