diff --git a/envi/bil.h b/envi/bil.h index a14e4ff..bd4186a 100644 --- a/envi/bil.h +++ b/envi/bil.h @@ -1,3 +1,6 @@ +#ifndef STIM_BIL_H +#define STIM_BIL_H + #include "../envi/envi.h" #include "../envi/binary.h" #include @@ -401,3 +404,5 @@ public: }; } + +#endif diff --git a/envi/bip.h b/envi/bip.h index 39ebeec..8a1e1c2 100644 --- a/envi/bip.h +++ b/envi/bip.h @@ -1,4 +1,5 @@ #include "../envi/envi.h" +#include "../envi/bil.h" #include "../envi/binary.h" #include #include @@ -462,7 +463,7 @@ public: target.write(reinterpret_cast(q), S); //write a band data into target file } - header.interleave = rts::envi::interleaveType::BIL; //change the type of file in header file + header.interleave = rts::envi::BIL; //change the type of file in header file header.save(headername); free(p); @@ -478,4 +479,4 @@ public: } }; -} \ No newline at end of file +} -- libgit2 0.21.4