aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util/pattern.c')
-rw-r--r--tests/util/pattern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/util/pattern.c b/tests/util/pattern.c
index 2366b006..75a458d4 100644
--- a/tests/util/pattern.c
+++ b/tests/util/pattern.c
@@ -34,7 +34,7 @@
34 34
35#include <drm_fourcc.h> 35#include <drm_fourcc.h>
36 36
37#ifdef HAVE_CAIRO 37#if HAVE_CAIRO
38#include <cairo.h> 38#include <cairo.h>
39#include <math.h> 39#include <math.h>
40#endif 40#endif
@@ -546,7 +546,7 @@ static void fill_smpte(const struct util_format_info *info, void *planes[3],
546static void make_pwetty(void *data, unsigned int width, unsigned int height, 546static void make_pwetty(void *data, unsigned int width, unsigned int height,
547 unsigned int stride, uint32_t format) 547 unsigned int stride, uint32_t format)
548{ 548{
549#ifdef HAVE_CAIRO 549#if HAVE_CAIRO
550 cairo_surface_t *surface; 550 cairo_surface_t *surface;
551 cairo_t *cr; 551 cairo_t *cr;
552 cairo_format_t cairo_format; 552 cairo_format_t cairo_format;