summaryrefslogtreecommitdiff
path: root/test/cairo-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r--test/cairo-test.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h
index 3694f35d..8402d13a 100644
--- a/test/cairo-test.h
+++ b/test/cairo-test.h
@@ -30,6 +30,7 @@
#include "config.h"
#endif
+#include <stdio.h>
#include <math.h>
#include <cairo.h>
@@ -135,7 +136,7 @@ cairo_status_t
cairo_test_paint_checkered (cairo_t *cr);
void
-xasprintf (char **strp, const char *fmt, ...);
+xasprintf (char **strp, const char *fmt, ...) CAIRO_PRINTF_FORMAT(2, 3);
CAIRO_END_DECLS