summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuartg@google.com <stuartg@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2013-10-16 23:04:01 +0000
committerstuartg@google.com <stuartg@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2013-10-16 23:04:01 +0000
commit8f090032dd4f8f8908f338cc73bb840b788377f2 (patch)
tree3409a319b231317c63b0b3477c161c76822bcb92
parentcfb2f1743f0169ad8d01035458617bce97107539 (diff)
downloadsrc-8f090032dd4f8f8908f338cc73bb840b788377f2.tar.gz
ticket:38 Fix sfntly compilation on VS2013
git-svn-id: http://sfntly.googlecode.com/svn/trunk/cpp/src@228 672e30a5-4c29-85ac-ac6d-611c735e0a51
-rw-r--r--sfntly/data/writable_font_data.cc2
-rw-r--r--sfntly/port/file_input_stream.cc2
-rwxr-xr-xsfntly/port/memory_input_stream.cc2
-rw-r--r--sfntly/table/core/os2_table.cc2
4 files changed, 8 insertions, 0 deletions
diff --git a/sfntly/data/writable_font_data.cc b/sfntly/data/writable_font_data.cc
index 7f6f72f..4b3b440 100644
--- a/sfntly/data/writable_font_data.cc
+++ b/sfntly/data/writable_font_data.cc
@@ -16,6 +16,8 @@
#include "sfntly/data/writable_font_data.h"
+#include <algorithm>
+
#include "sfntly/data/memory_byte_array.h"
#include "sfntly/data/growable_memory_byte_array.h"
diff --git a/sfntly/port/file_input_stream.cc b/sfntly/port/file_input_stream.cc
index 5bcb434..dfe9a7b 100644
--- a/sfntly/port/file_input_stream.cc
+++ b/sfntly/port/file_input_stream.cc
@@ -18,6 +18,8 @@
#include <windows.h>
#endif
+#include <algorithm>
+
#include "sfntly/port/file_input_stream.h"
#include "sfntly/port/exception_type.h"
diff --git a/sfntly/port/memory_input_stream.cc b/sfntly/port/memory_input_stream.cc
index 56ee81e..f6f2b9b 100755
--- a/sfntly/port/memory_input_stream.cc
+++ b/sfntly/port/memory_input_stream.cc
@@ -20,6 +20,8 @@
#include <string.h>
+#include <algorithm>
+
#include "sfntly/port/memory_input_stream.h"
#include "sfntly/port/exception_type.h"
diff --git a/sfntly/table/core/os2_table.cc b/sfntly/table/core/os2_table.cc
index 7ca9d9a..1fef309 100644
--- a/sfntly/table/core/os2_table.cc
+++ b/sfntly/table/core/os2_table.cc
@@ -16,6 +16,8 @@
#include "sfntly/table/core/os2_table.h"
+#include <algorithm>
+
namespace sfntly {
/******************************************************************************
* Constants