From 94a3ed6682bcee2b40660cca0806e0ccd242cf32 Mon Sep 17 00:00:00 2001 From: Mark Jenkinson <mark@fmrib.ox.ac.uk> Date: Sat, 22 Feb 2003 18:39:01 +0000 Subject: [PATCH] Fixed include paths for headers --- meldata.cc | 1 + melgmix.cc | 1 + melica.cc | 1 + melodic.cc | 3 +++ melodic.h | 1 + meloptions.cc | 4 ++++ meloptions.h | 6 ++++++ melreport.h | 2 ++ test.cc | 2 ++ 9 files changed, 21 insertions(+) diff --git a/meldata.cc b/meldata.cc index cd44154..35549c0 100644 --- a/meldata.cc +++ b/meldata.cc @@ -14,6 +14,7 @@ #include "meldata.h" #include "melodic.h" #include "utils/log.h" +#include <time.h> using namespace Utilities; using namespace NEWIMAGE; diff --git a/melgmix.cc b/melgmix.cc index bfcf544..b586365 100644 --- a/melgmix.cc +++ b/melgmix.cc @@ -15,6 +15,7 @@ //#include "melmm.h" #include "utils/log.h" #include "miscmaths/miscprob.h" +#include <time.h> #include "libvis/miscplot.h" #include "libvis/miscpic.h" diff --git a/melica.cc b/melica.cc index 74ae29a..c162722 100644 --- a/melica.cc +++ b/melica.cc @@ -9,6 +9,7 @@ /* CCOPYRIGHT */ +#include <stdlib.h> #include "newimage/newimageall.h" #include "utils/log.h" #include "meloptions.h" diff --git a/melodic.cc b/melodic.cc index 3bc3370..cac0af8 100644 --- a/melodic.cc +++ b/melodic.cc @@ -9,11 +9,14 @@ /* CCOPYRIGHT */ +#include <iostream> #include "newmat/newmatap.h" #include "newmat/newmatio.h" #include "newimage/newimageall.h" #include "miscmaths/miscmaths.h" #include "miscmaths/miscprob.h" +#include <string> +#include <math.h> #include "utils/options.h" #include "utils/log.h" #include "meloptions.h" diff --git a/melodic.h b/melodic.h index 24e69d9..c183726 100644 --- a/melodic.h +++ b/melodic.h @@ -12,6 +12,7 @@ #ifndef __MELODIC_h #define __MELODIC_h +#include<strstream> // a simple message macro that takes care of cout and log #define message(msg) { \ diff --git a/meloptions.cc b/meloptions.cc index 2e93e68..a79c600 100644 --- a/meloptions.cc +++ b/meloptions.cc @@ -10,6 +10,10 @@ /* CCOPYRIGHT */ +#include <iostream> +#include <fstream> +#include <stdlib.h> +#include <stdio.h> #include "utils/log.h" #include "meloptions.h" #include "newimage/newimageall.h" diff --git a/meloptions.h b/meloptions.h index f56c7de..17d85e1 100644 --- a/meloptions.h +++ b/meloptions.h @@ -14,6 +14,12 @@ #ifndef __MELODICOPTIONS_h #define __MELODICOPTIONS_h +#include <string> +#include <strstream> +#include <iostream> +#include <fstream> +#include <stdlib.h> +#include <stdio.h> #include "utils/options.h" #include "utils/log.h" #include "melodic.h" diff --git a/melreport.h b/melreport.h index 9073f88..7563fd1 100644 --- a/melreport.h +++ b/melreport.h @@ -21,6 +21,8 @@ #include "melodic.h" #include "newmat/newmatap.h" #include "newmat/newmatio.h" +#include <time.h> +#include <strstream> #include "libvis/miscplot.h" #include "libvis/miscpic.h" #include "utils/options.h" diff --git a/test.cc b/test.cc index a98e57a..2e66ce6 100644 --- a/test.cc +++ b/test.cc @@ -1,3 +1,5 @@ +#include <iostream.h> +#include <iomanip> #include "libvis/miscplot.h" #include "libvis/miscpic.h" -- GitLab