summaryrefslogtreecommitdiff
path: root/graphics/ilmbase/patches/patch-Imath_ImathMatrixAlgo.cpp
blob: b6088a8f247e695d57290aff89087c09efd579b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-Imath_ImathMatrixAlgo.cpp,v 1.1 2013/12/26 15:59:27 tron Exp $

Fix build with SunStudio compiler under Solaris.

--- Imath/ImathMatrixAlgo.cpp.orig	2013-06-18 20:51:38.000000000 +0100
+++ Imath/ImathMatrixAlgo.cpp	2013-12-26 15:22:33.000000000 +0000
@@ -44,6 +44,7 @@
 
 #include "ImathMatrixAlgo.h"
 #include <cmath>
+#include <algorithm>
 
 #if defined(OPENEXR_DLL)
     #define EXPORT_CONST __declspec(dllexport)