summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-03-25 13:16:56 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2015-03-25 13:16:56 +0000
commitd85e68e2d310a5646e4e71a06edf2b21b1d18688 (patch)
tree7462104d2b50a1be610130731e4d820053c4579d /configure.ac
parentd377fd3d11a6ed29f8bce9e7b05a8db82e33764e (diff)
sna: Add include <alloca.h> for compiling on Solaris
Reported-by: Richard Palo <richard@netbsd.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89762 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9aadc73e..1bb64fc7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -416,7 +416,7 @@ AC_ARG_ENABLE(sna,
[SNA="$enableval"],
[SNA=auto])
-AC_CHECK_HEADERS([dev/wscons/wsconsio.h])
+AC_CHECK_HEADERS([dev/wscons/wsconsio.h alloca.h])
if test "x$SNA" != "xno"; then
AC_DEFINE(USE_SNA, 1, [Enable SNA support])