include <new> header for benefit of new clang builds

TBR=kjellander@chromium.org
BUG=libyuv:712
TEST=local builds still work

Change-Id: I040e8edc40aafd820d2a29629fe7aec5c049bc6b
Reviewed-on: https://chromium-review.googlesource.com/576971
Reviewed-by: Frank Barchard <fbarchard@google.com>
Commit-Queue: Frank Barchard <fbarchard@google.com>
This commit is contained in:
Frank Barchard 2017-07-18 18:06:11 -07:00 committed by Commit Bot
parent 95a20b677d
commit 1dda4cb0b7
3 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,10 @@
#ifdef HAVE_JPEG
#include <assert.h>
#ifdef __cplusplus
#include <new>
#endif
#if !defined(__pnacl__) && !defined(__CLR_VER) && \
!defined(COVERAGE_ENABLED) && !defined(TARGET_IPHONE_SIMULATOR)
// Must be included before jpeglib.

View File

@ -22,6 +22,7 @@
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <new>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>

View File

@ -15,6 +15,7 @@
#define _CRT_SECURE_NO_WARNINGS
#endif
#include <new>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>