diff options
author | Alan Coopersmith <[email protected]> | 2015-05-15 19:05:45 -0700 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-05-20 21:44:21 +0100 |
commit | 31cd2d75dc3844e40143f649fe383de17c152a13 (patch) | |
tree | eb5089e0afe7eb57e3f5ac98f758bafa5cee9366 /src/mesa/drivers | |
parent | 2126c68e5cba79709e228f12eb3062a9be634a0e (diff) |
swrast: Build fix for Solaris
Fixes regression from commit 5b2d3480f57168d50ad24cf0b8c9244414bd3701
Cc: "10.5 10.6" <[email protected]>
Signed-off-by: Alan Coopersmith <[email protected]>
Reviewed-by: Jeremy Huddleston Sequoia <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/swrast/swrast.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index cbc946c3ffd..2d4bb702fc2 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa/drivers/dri/swrast/swrast.c @@ -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); |