From adf14ccd770b70fae91a4ce3ed7896abdb7313a1 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Tue, 13 Mar 2012 17:31:56 +0000 Subject: [PATCH] Include without the .h on modern C++ --- cde/programs/dtsearchpath/dtappg/Options.C | 4 ++++ cde/programs/dtsearchpath/dtappg/dtappgather.C | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/cde/programs/dtsearchpath/dtappg/Options.C b/cde/programs/dtsearchpath/dtappg/Options.C index fa242a0d..24e11cdc 100644 --- a/cde/programs/dtsearchpath/dtappg/Options.C +++ b/cde/programs/dtsearchpath/dtappg/Options.C @@ -31,7 +31,11 @@ #include "Options.h" #include +#if defined(linux) +#include +#else #include +#endif #include #include diff --git a/cde/programs/dtsearchpath/dtappg/dtappgather.C b/cde/programs/dtsearchpath/dtappg/dtappgather.C index 55529159..ee09040d 100644 --- a/cde/programs/dtsearchpath/dtappg/dtappgather.C +++ b/cde/programs/dtsearchpath/dtappg/dtappgather.C @@ -75,7 +75,11 @@ #include "dtappgather.h" #include "DirIterator.h" #include +#if defined(linux) +#include +#else #include +#endif Options * options; -- 2.25.1