summaryrefslogtreecommitdiff
path: root/core/include/fxcrt/fx_basic.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-06 12:28:23 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-06 12:28:23 -0700
commit6fcecb529007b65596f0ce30efde571f820df56b (patch)
tree2e88339638d1cdb974c24638388fb0c5ec613182 /core/include/fxcrt/fx_basic.h
parent9bf1f76771e04c20cb8a0f1c3d1938bdb965882e (diff)
downloadpdfium-6fcecb529007b65596f0ce30efde571f820df56b.tar.xz
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
Diffstat (limited to 'core/include/fxcrt/fx_basic.h')
-rw-r--r--core/include/fxcrt/fx_basic.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h
index a3cf5851f8..45a5a6e23c 100644
--- a/core/include/fxcrt/fx_basic.h
+++ b/core/include/fxcrt/fx_basic.h
@@ -6,18 +6,11 @@
#ifndef _FX_BASIC_H_
#define _FX_BASIC_H_
-#ifndef _FX_SYSTEM_H_
-#include "fx_system.h"
-#endif
-#ifndef _FX_MEMORY_H_
+
#include "fx_memory.h"
-#endif
-#ifndef _FX_STRING_H_
-#include "fx_string.h"
-#endif
-#ifndef _FX_STREAM_H_
#include "fx_stream.h"
-#endif
+#include "fx_string.h"
+#include "fx_system.h"
// The FX_ArraySize(arr) macro returns the # of elements in an array arr.
// The expression is a compile-time constant, and therefore can be