summaryrefslogtreecommitdiff
path: root/src/test-paginated-surface.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2007-04-03 20:25:30 -0400
committerBehdad Esfahbod <behdad@behdad.org>2007-04-03 20:28:11 -0400
commit8fbf50d31da9e13f1e55c7ee19586b7c394684ba (patch)
tree375f55d2684b5e11b5a3f70ffd0d9b71272dd2c6 /src/test-paginated-surface.c
parentffc7d06da0f97390025a510b9532e4a64e9230f4 (diff)
[src] Make sure all source files #include "cairoint.h" as their first include
This is necessary to avoid many portability problems as cairoint.h includes config.h. Without a test, we will regress again, hence add it. The inclusion idiom for cairo now is: #include "cairoint.h" #include "cairo-something.h" #include "cairo-anotherthing-private.h" #include <some-library.h> #include <other-library/other-file.h> Moreover, some standard headers files are included from cairoint.h and need not be included again.
Diffstat (limited to 'src/test-paginated-surface.c')
-rw-r--r--src/test-paginated-surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test-paginated-surface.c b/src/test-paginated-surface.c
index d82749f6..543422f8 100644
--- a/src/test-paginated-surface.c
+++ b/src/test-paginated-surface.c
@@ -45,10 +45,10 @@
* backend.
*/
-#include "test-paginated-surface.h"
-
#include "cairoint.h"
+#include "test-paginated-surface.h"
+
#include "cairo-paginated-surface-private.h"
typedef struct _test_paginated_surface {