From: Peter Howkins Date: Mon, 12 Mar 2012 16:43:22 +0000 (+0000) Subject: These days include standard C++ header files without the .h on the end X-Git-Tag: 2.2.0a~26^2~78 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7d770cff753a0529f5f27642b4e8223afca18a44;p=oweals%2Fcde.git These days include standard C++ header files without the .h on the end --- diff --git a/cde/programs/dtsearchpath/dtsp/SearchPath.h b/cde/programs/dtsearchpath/dtsp/SearchPath.h index a79c67d1..e6d2e797 100644 --- a/cde/programs/dtsearchpath/dtsp/SearchPath.h +++ b/cde/programs/dtsearchpath/dtsp/SearchPath.h @@ -34,7 +34,11 @@ #include "Environ.h" #include "cstring.h" +#if defined(linux) +#include +#else #include +#endif #include class SearchPath { diff --git a/cde/programs/dtsearchpath/libCliSrv/cstring.h b/cde/programs/dtsearchpath/libCliSrv/cstring.h index fec4685e..abe0ee9b 100644 --- a/cde/programs/dtsearchpath/libCliSrv/cstring.h +++ b/cde/programs/dtsearchpath/libCliSrv/cstring.h @@ -32,7 +32,11 @@ #ifndef _CSTRING_H_ #define _CSTRING_H_ +#if defined(linux) +#include +#else #include +#endif #include class CString {