mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-30 07:20:14 +01:00
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>
This commit is contained in:
parent
fdd54d2b79
commit
a7b2c28adf
4 changed files with 13 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ AC_CHECK_HEADER(fenv.h,
|
|||
[AC_CHECK_FUNCS(feenableexcept fedisableexcept feclearexcept)])
|
||||
|
||||
dnl check for misc headers and functions
|
||||
AC_CHECK_HEADERS([libgen.h byteswap.h signal.h setjmp.h fenv.h])
|
||||
AC_CHECK_HEADERS([libgen.h byteswap.h signal.h setjmp.h fenv.h sys/wait.h])
|
||||
AC_CHECK_FUNCS([ctime_r drand48 flockfile funlockfile getline link strndup])
|
||||
|
||||
dnl check for win32 headers (this detects mingw as well)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue