diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-18 22:12:23 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-01-22 23:01:50 +0000 |
commit | d2f251f84b326c5f8825c9a631ea729f21891580 (patch) | |
tree | 128c23acc85c20f66c12e193c8e46f14aa5e1863 /boilerplate/cairo-boilerplate-pdf.c | |
parent | 934d0d0d6585eb7638c7db597c40dd821092c034 (diff) | |
download | cairo-d2f251f84b326c5f8825c9a631ea729f21891580.tar.gz |
configure: Globally define AC_GNU_SOURCE
We were using _GNU_SOURCE throughout the codebase, so simply define it
once during configure. This is the easiest method to enable recursive
mutexes using pthreads, as required in a pending patch.
Diffstat (limited to 'boilerplate/cairo-boilerplate-pdf.c')
-rw-r--r-- | boilerplate/cairo-boilerplate-pdf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boilerplate/cairo-boilerplate-pdf.c b/boilerplate/cairo-boilerplate-pdf.c index dd14bfab2..6790abd69 100644 --- a/boilerplate/cairo-boilerplate-pdf.c +++ b/boilerplate/cairo-boilerplate-pdf.c @@ -30,6 +30,10 @@ #include <cairo-pdf-surface-private.h> #include <cairo-paginated-surface-private.h> +#if HAVE_SIGNAL_H +#include <signal.h> +#endif + #if ! CAIRO_HAS_RECORDING_SURFACE #define CAIRO_SURFACE_TYPE_RECORDING CAIRO_INTERNAL_SURFACE_TYPE_RECORDING #endif |