Commit 31cd2d75 authored by Alan Coopersmith's avatar Alan Coopersmith Committed by Emil Velikov

swrast: Build fix for Solaris

Fixes regression from commit 5b2d3480

Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: default avatarJeremy Huddleston Sequoia <jeremyhu@apple.com>
parent 2126c68e
......@@ -649,6 +649,7 @@ if test "x$enable_asm" = xyes; then
fi
AC_CHECK_HEADER([xlocale.h], [DEFINES="$DEFINES -DHAVE_XLOCALE_H"])
AC_CHECK_HEADER([sys/sysctl.h], [DEFINES="$DEFINES -DHAVE_SYS_SYSCTL_H"])
AC_CHECK_FUNC([strtof], [DEFINES="$DEFINES -DHAVE_STRTOF"])
dnl Check to see if dlopen is in default libraries (like Solaris, which
......
......@@ -62,7 +62,9 @@
#include "swrast/s_context.h"
#include <sys/types.h>
#include <sys/sysctl.h>
#ifdef HAVE_SYS_SYSCTL_H
# include <sys/sysctl.h>
#endif
const __DRIextension **__driDriverGetExtensions_swrast(void);
......
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