mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-08 07:58:01 +02:00
If alloca.h is available it is required (e.g. on Solaris 10)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63071 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
74b4c3ac94
commit
6485fafbca
2 changed files with 5 additions and 0 deletions
|
|
@ -686,6 +686,8 @@ AC_CHECK_HEADERS(ws2tcpip.h)
|
|||
|
||||
AC_CHECK_HEADERS(wspiapi.h)
|
||||
|
||||
AC_CHECK_HEADERS(alloca.h)
|
||||
|
||||
# Add -D_POSIX_PTHREAD_SEMANTICS if on Solaris
|
||||
#
|
||||
case $host_os in
|
||||
|
|
|
|||
|
|
@ -71,6 +71,9 @@
|
|||
#ifdef HAVE_GETPEERUCRED
|
||||
#include <ucred.h>
|
||||
#endif
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ADT
|
||||
#include <bsm/adt.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue