From 6fcecb529007b65596f0ce30efde571f820df56b Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 6 Apr 2015 12:28:23 -0700 Subject: Fix IWYU in fxcrt headers. Confirmed manually that: g++ --std=c++0x -o /dev/null -I. ... -c fx_xxxxx.h is now error-free for the files in this directory. Also kill some ifndef's around inclusion since we know this doesn't provide benefit with modern compilers. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1064433005 --- core/include/fxcrt/fx_stream.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/include/fxcrt/fx_stream.h') diff --git a/core/include/fxcrt/fx_stream.h b/core/include/fxcrt/fx_stream.h index b3784501a9..67327898d9 100644 --- a/core/include/fxcrt/fx_stream.h +++ b/core/include/fxcrt/fx_stream.h @@ -6,9 +6,10 @@ #ifndef _FX_STREAM_H_ #define _FX_STREAM_H_ -#ifndef _FX_MEMORY_H_ + #include "fx_memory.h" -#endif +#include "fx_string.h" + void* FX_OpenFolder(FX_LPCSTR path); void* FX_OpenFolder(FX_LPCWSTR path); FX_BOOL FX_GetNextFile(void* handle, CFX_ByteString& filename, FX_BOOL& bFolder); -- cgit v1.2.3