summaryrefslogtreecommitdiffstats
path: root/third_party/lzma_sdk
diff options
context:
space:
mode:
authorscottmg@google.com <scottmg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-24 20:58:24 +0000
committerscottmg@google.com <scottmg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-24 20:58:24 +0000
commitc54b41cb226d9f394b8a5eec80aff813ea51d71c (patch)
tree40fd86be89ee97a7c548a2301e0594678a9dfdb0 /third_party/lzma_sdk
parent028f27eeee2ae781334bcfe25061e8d73d4fb66a (diff)
downloadchromium_src-c54b41cb226d9f394b8a5eec80aff813ea51d71c.zip
chromium_src-c54b41cb226d9f394b8a5eec80aff813ea51d71c.tar.gz
chromium_src-c54b41cb226d9f394b8a5eec80aff813ea51d71c.tar.bz2
Retry of warnings-as-errors for Windows third_party.
Same as patch here: https://chromiumcodereview.appspot.com/10827429/ except that warnings as errors is off if buildtype=Official. The previous CL was OK everywhere that's visible on build.chromium.org including "Official" but fails on internal builds. R=thakis@chromium.org BUG=126483, 140121, 143877 Review URL: https://chromiumcodereview.appspot.com/10867058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/lzma_sdk')
-rw-r--r--third_party/lzma_sdk/CpuArch.h1
-rw-r--r--third_party/lzma_sdk/README.chromium3
2 files changed, 4 insertions, 0 deletions
diff --git a/third_party/lzma_sdk/CpuArch.h b/third_party/lzma_sdk/CpuArch.h
index 01930c7..8c0c84d 100644
--- a/third_party/lzma_sdk/CpuArch.h
+++ b/third_party/lzma_sdk/CpuArch.h
@@ -4,6 +4,7 @@
#ifndef __CPU_ARCH_H
#define __CPU_ARCH_H
+#include <stdlib.h>
#include "Types.h"
EXTERN_C_BEGIN
diff --git a/third_party/lzma_sdk/README.chromium b/third_party/lzma_sdk/README.chromium
index d487eec..c9ea02f 100644
--- a/third_party/lzma_sdk/README.chromium
+++ b/third_party/lzma_sdk/README.chromium
@@ -14,3 +14,6 @@ proper file paths and generate a static lib.
The patch in chromium.patch was applied to CpuArch.c to fix compile error on
32bit Linux.
+
+An #include <stdlib.h> needs to be added to CpuArch.h to avoid a warning on
+Win32.