diff --git a/LCS/Common/include/Common/InputParSet.h b/LCS/Common/include/Common/InputParSet.h index 37a1ba66d38157934a0b93c60358118a58138ce4..0c206f2e6e2ae1d565b28b392f0e00f1924e5ac9 100644 --- a/LCS/Common/include/Common/InputParSet.h +++ b/LCS/Common/include/Common/InputParSet.h @@ -30,10 +30,14 @@ //# Includes #include <Common/ParameterSet.h> +#ifdef HAVE_AIPSPP +# include <casacore/casa/Inputs/Input.h> +#else //# Forward declare Input. namespace casacore { class Input; } +#endif namespace LOFAR { diff --git a/LCS/LofarStMan/include/LofarStMan/LofarStMan.h b/LCS/LofarStMan/include/LofarStMan/LofarStMan.h index 985eb8273e1d39fbea65b52ab4299853ece88141..4befb110f61cec02becb6dc767562e2aae427794 100644 --- a/LCS/LofarStMan/include/LofarStMan/LofarStMan.h +++ b/LCS/LofarStMan/include/LofarStMan/LofarStMan.h @@ -25,7 +25,7 @@ //# Includes #include <casacore/tables/DataMan/DataManager.h> #include <casacore/casa/IO/MMapIO.h> -#include <casacore/casa/IO/LargeFiledesIO.h> +#include <casacore/casa/IO/FiledesIO.h> #include <casacore/casa/Containers/Block.h> #include <casacore/casa/Containers/Record.h> #include <Common/LofarTypes.h> @@ -331,7 +331,7 @@ private: vector<LofarColumn*> itsColumns; // On 32-bit systems regular IO is used. int itsFD; - casacore::LargeFiledesIO* itsRegFile; + casacore::FiledesIO* itsRegFile; casacore::Block<char> itsBuffer; //# buffer of size itsBLDataSize for regular IO // The seqnr file (if present) is always memory-mapped because it is small. casacore::MMapIO* itsSeqFile; diff --git a/LCS/LofarStMan/src/LofarStMan.cc b/LCS/LofarStMan/src/LofarStMan.cc index 424956034adfc7ce5f0fb0853c6ba87affc56397..8bae2e311709c71108873b8323a4810056f321a4 100644 --- a/LCS/LofarStMan/src/LofarStMan.cc +++ b/LCS/LofarStMan/src/LofarStMan.cc @@ -226,8 +226,8 @@ void LofarStMan::openFiles (bool writable) // First close if needed. closeFiles(); String fname (fileName() + "data"); - itsFD = LargeFiledesIO::open (fname.c_str(), writable); - itsRegFile = new LargeFiledesIO (itsFD); + itsFD = FiledesIO::open (fname.c_str(), writable); + itsRegFile = new FiledesIO (itsFD); // Set correct number of rows. itsNrRows = itsRegFile->length() / itsBlockSize * itsAnt1.size(); // Map the file with seqnrs. @@ -261,7 +261,7 @@ void LofarStMan::mapSeqFile() void LofarStMan::closeFiles() { if (itsFD >= 0) { - LargeFiledesIO::close (itsFD); + FiledesIO::close (itsFD); itsFD = -1; } delete itsRegFile;