diff options
author | Ben Smith <binji@chromium.org> | 2014-09-26 11:32:13 -0700 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2014-09-26 18:32:55 +0000 |
commit | 37755be4c606743895c0c24d5b2ea4c25af6859d (patch) | |
tree | 39eb6ba2748a0a1d6949df5fb1e2baaff5c19c5e | |
parent | cfddc3601a6d355dae66317e07654e9d0c81eff8 (diff) | |
download | chromium_src-37755be4c606743895c0c24d5b2ea4c25af6859d.zip chromium_src-37755be4c606743895c0c24d5b2ea4c25af6859d.tar.gz chromium_src-37755be4c606743895c0c24d5b2ea4c25af6859d.tar.bz2 |
[NaCl SDK] Fix url_loader example for MSVC 2013
This is the same issue as in 8d01729a29f. MSVC 2013 now requires including
<algorithm> to use std::{min, max}.
BUG=none
R=sbc@chromium.org
Review URL: https://codereview.chromium.org/607923002
Cr-Commit-Position: refs/heads/master@{#296984}
-rw-r--r-- | native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc b/native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc index 6948257..6636362 100644 --- a/native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc +++ b/native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc @@ -4,6 +4,7 @@ #include <stdio.h> #include <stdlib.h> +#include <algorithm> #include "ppapi/c/pp_errors.h" #include "ppapi/c/ppb_instance.h" #include "ppapi/cpp/module.h" |