[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - vcl/opengl

Kohei Yoshida kohei.yoshida at collabora.com
Tue Jan 6 09:26:49 PST 2015


 vcl/opengl/win/WinDeviceInfo.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c5ba76147442a5ce3ce2dd69966be7550483fdc9
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Tue Jan 6 12:22:18 2015 -0500

    Build fix on Windows.
    
    <algorithm> is needed for std::max.
    
    Change-Id: Ic5cc38f3e34d1de60ece84f2e52a2d82325e1371

diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx
index 3b3902c..7beda49 100644
--- a/vcl/opengl/win/WinDeviceInfo.cxx
+++ b/vcl/opengl/win/WinDeviceInfo.cxx
@@ -12,6 +12,7 @@
 #include <windows.h>
 #include <setupapi.h>
 #include <cstdint>
+#include <algorithm>
 #include <rtl/ustrbuf.hxx>
 
 OUString* WinOpenGLDeviceInfo::mpDeviceVendors[wgl::DeviceVendorMax];


More information about the Libreoffice-commits mailing list