mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Merge branch 'non-POSIX-spawn' into 'master'
Fix build failure on systems without POSIX spawn See merge request GNOME/glib!345
This commit is contained in:
commit
e1f4ff6c25
@ -639,6 +639,7 @@ AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h fstab.h])
|
|||||||
AC_CHECK_HEADERS([linux/magic.h])
|
AC_CHECK_HEADERS([linux/magic.h])
|
||||||
AC_CHECK_HEADERS([termios.h])
|
AC_CHECK_HEADERS([termios.h])
|
||||||
AC_CHECK_HEADERS([alloca.h])
|
AC_CHECK_HEADERS([alloca.h])
|
||||||
|
AC_CHECK_HEADERS([spawn.h])
|
||||||
|
|
||||||
# Some versions of MSC lack these
|
# Some versions of MSC lack these
|
||||||
AC_CHECK_HEADERS([dirent.h sys/time.h])
|
AC_CHECK_HEADERS([dirent.h sys/time.h])
|
||||||
|
@ -30,7 +30,10 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h> /* for fdwalk */
|
#include <stdlib.h> /* for fdwalk */
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|
||||||
|
#ifdef HAVE_SPAWN_H
|
||||||
#include <spawn.h>
|
#include <spawn.h>
|
||||||
|
#endif /* HAVE_SPAWN_H */
|
||||||
|
|
||||||
#ifdef HAVE_CRT_EXTERNS_H
|
#ifdef HAVE_CRT_EXTERNS_H
|
||||||
#include <crt_externs.h> /* for _NSGetEnviron */
|
#include <crt_externs.h> /* for _NSGetEnviron */
|
||||||
|
@ -227,6 +227,7 @@ headers = [
|
|||||||
'poll.h',
|
'poll.h',
|
||||||
'pwd.h',
|
'pwd.h',
|
||||||
'sched.h',
|
'sched.h',
|
||||||
|
'spawn.h',
|
||||||
'stdint.h',
|
'stdint.h',
|
||||||
'stdlib.h',
|
'stdlib.h',
|
||||||
'string.h',
|
'string.h',
|
||||||
|
Loading…
Reference in New Issue
Block a user