From 86ffde570013d3205ea3d9fdb208a87847c52d72 Mon Sep 17 00:00:00 2001 From: Olli Etuaho Date: Fri, 3 Oct 2014 14:51:54 +0300 Subject: [PATCH] Fix building angleutils.cpp on Linux vsnprintf is defined in stdio.h according to the standard. It was not in the include chain of angleutils.cpp, which broke the build on Linux on some configurations. Seems like other toolchains include the function in some non-standard way. BUG=angle:761 Change-Id: Idcd75776e8a9b83dad182d1b4bac0beac006c6ac Reviewed-on: https://chromium-review.googlesource.com/221053 Reviewed-by: Olli Etuaho Reviewed-by: Jamie Madill Tested-by: Geoff Lang --- AUTHORS | 1 + CONTRIBUTORS | 3 +++ src/common/angleutils.cpp | 1 + 3 files changed, 5 insertions(+) diff --git a/AUTHORS b/AUTHORS index dda272be0..88b5e9998 100644 --- a/AUTHORS +++ b/AUTHORS @@ -22,6 +22,7 @@ Mozilla Corporation Turbulenz Klarälvdalens Datakonsult AB Microsoft Open Technologies, Inc. +NVIDIA Corporation Jacek Caban Mark Callow diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 40a56a11f..32beb6882 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -86,3 +86,6 @@ Jacek Caban Microsoft Open Technologies, Inc. Cooper Partin Austin Kinross + +NVIDIA Corporation + Olli Etuaho diff --git a/src/common/angleutils.cpp b/src/common/angleutils.cpp index 77e78824e..2ced98d8b 100644 --- a/src/common/angleutils.cpp +++ b/src/common/angleutils.cpp @@ -6,6 +6,7 @@ #include "common/angleutils.h" +#include #include std::string FormatString(const char *fmt, va_list vararg)