summaryrefslogtreecommitdiff
path: root/src/cairo-xlib-private.h
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-09-02 14:51:30 +0100
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-09-02 14:51:30 +0100
commita9e055ff481303428cd9684dca826bc3f5d868c5 (patch)
tree9ea4a3927429a6717394e32252553c936b589df2 /src/cairo-xlib-private.h
parentf5632d641c44a143386ca3b413e90ed3b1a85f89 (diff)
downloadcairo-a9e055ff481303428cd9684dca826bc3f5d868c5.tar.gz
freelist: Separate freelist inlines from the datatype in headers.
The cairo-freelist-private.h header has a number of static inline functions which call hidden functions in libcairo. This poses a problem on Solaris where the native compiler compiles inline functions whether they are used or not, thereby adding the link time requirements on hidden functions from whatever code that includes cairo-freelist-private.h. Unfortunately the boilerplate code includes cairo-private headers and indirectly the freelist header, so linking the boilerplate helper library fails on Solaris. This patch separates the structure definitions from the function prototypes and static inlines in cairo-freelist-private.h by moving the datatypes to a new cairo-freelist-type-private.h.
Diffstat (limited to 'src/cairo-xlib-private.h')
-rw-r--r--src/cairo-xlib-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xlib-private.h b/src/cairo-xlib-private.h
index 24bf5e329..bd260bc0e 100644
--- a/src/cairo-xlib-private.h
+++ b/src/cairo-xlib-private.h
@@ -42,7 +42,7 @@
#include "cairo-compiler-private.h"
#include "cairo-device-private.h"
-#include "cairo-freelist-private.h"
+#include "cairo-freelist-type-private.h"
#include "cairo-list-private.h"
#include "cairo-reference-count-private.h"
#include "cairo-types-private.h"