summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2017-12-06 18:27:21 -0800
committerBryce Harrington <bryce@osg.samsung.com>2017-12-07 14:13:28 -0800
commitbb0d616c4efe1015d17d41125f235a219ad14322 (patch)
tree933963d91c6f53328cae769fc515bac7b840a1f1
parent15559b54af473d720da9e03b0e769c54a53505a9 (diff)
image: Fix include for use of ptrdiff
Commit 38fbe621 added use of the ptrdiff_t type in a header file, however `make distcheck` complains: In file included from headers-standalone-tmp.c:1:0: ../../../src/cairo-image-surface-private.h:74:5: error: unknown type name ‘ptrdiff_t’ ptrdiff_t stride; ^
-rw-r--r--src/cairo-image-surface-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-image-surface-private.h b/src/cairo-image-surface-private.h
index 7e78d6153..2b7921133 100644
--- a/src/cairo-image-surface-private.h
+++ b/src/cairo-image-surface-private.h
@@ -40,6 +40,7 @@
#include "cairo-surface-private.h"
+#include <stddef.h>
#include <pixman.h>
CAIRO_BEGIN_DECLS