summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorDave Yeo <dave.r.yeo@gmail.com>2011-09-06 20:36:32 -0700
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-18 08:50:26 +0100
commita7b2c28adf920333322a45bf25e2d80e44391d4f (patch)
tree6f35d36af6105d2205a5a2b69d084c8db15ff263 /boilerplate
parentfdd54d2b791fbd461a6cac67ea10eb8decaf5f5c (diff)
On OS/2, WIFSIGNALED and WTERMSIG are prototyped in sys/wait.h
boilerplate/cairo-boilerplate-pdf.c | 4 ++++ boilerplate/cairo-boilerplate-ps.c | 4 ++++ boilerplate/cairo-boilerplate-svg.c | 4 ++++ build/configure.ac.system | 2 +- 4 files changed, 13 insertions(+), 1 deletions(-) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/cairo-boilerplate-pdf.c4
-rw-r--r--boilerplate/cairo-boilerplate-ps.c4
-rw-r--r--boilerplate/cairo-boilerplate-svg.c4
3 files changed, 12 insertions, 0 deletions
diff --git a/boilerplate/cairo-boilerplate-pdf.c b/boilerplate/cairo-boilerplate-pdf.c
index 9854344d2..5173780db 100644
--- a/boilerplate/cairo-boilerplate-pdf.c
+++ b/boilerplate/cairo-boilerplate-pdf.c
@@ -36,6 +36,10 @@
#include <signal.h>
#endif
+#if HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
#if ! CAIRO_HAS_RECORDING_SURFACE
#define CAIRO_SURFACE_TYPE_RECORDING CAIRO_INTERNAL_SURFACE_TYPE_RECORDING
#endif
diff --git a/boilerplate/cairo-boilerplate-ps.c b/boilerplate/cairo-boilerplate-ps.c
index c3f06941c..53c8cb825 100644
--- a/boilerplate/cairo-boilerplate-ps.c
+++ b/boilerplate/cairo-boilerplate-ps.c
@@ -37,6 +37,10 @@
#include <signal.h>
#endif
+#if HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
#if ! CAIRO_HAS_RECORDING_SURFACE
#define CAIRO_SURFACE_TYPE_RECORDING CAIRO_INTERNAL_SURFACE_TYPE_RECORDING
#endif
diff --git a/boilerplate/cairo-boilerplate-svg.c b/boilerplate/cairo-boilerplate-svg.c
index 10fddb6b9..310dc5df1 100644
--- a/boilerplate/cairo-boilerplate-svg.c
+++ b/boilerplate/cairo-boilerplate-svg.c
@@ -37,6 +37,10 @@
#include <signal.h>
#endif
+#if HAVE_SYS_WAIT_H
+#include <sys/wait.h>
+#endif
+
#if ! CAIRO_HAS_RECORDING_SURFACE
#define CAIRO_SURFACE_TYPE_RECORDING CAIRO_INTERNAL_SURFACE_TYPE_RECORDING
#endif