Commit 6485fafb authored by Dagobert Michelsen's avatar Dagobert Michelsen Committed by Simon McVittie

If alloca.h is available it is required (e.g. on Solaris 10)

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63071Reviewed-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
parent 74b4c3ac
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment