diff --git a/ResourceFiles/ResourceFile.cc b/ResourceFiles/ResourceFile.cc index f72d6e5068..dc7ca520a0 100644 --- a/ResourceFiles/ResourceFile.cc +++ b/ResourceFiles/ResourceFile.cc @@ -4,6 +4,7 @@ #include #include "boost/filesystem/fstream.hpp" #include +#include #ifdef __APPLE__ #include @@ -341,7 +342,7 @@ bool ResourceFile::write() hfs_format(pathstring.c_str(), 0, 0, path.stem().string().substr(0,27).c_str(), 0, NULL); hfsvol *vol = hfs_mount(pathstring.c_str(), 0, HFS_MODE_RDWR); //hfs_setvol(vol, ) - hfsfile *file = hfs_create(vol, (path.stem().string().substr(0.31)).c_str(), + hfsfile *file = hfs_create(vol, (path.stem().string().substr(0,31)).c_str(), ((std::string)type).c_str(), ((std::string)creator).c_str()); hfs_setfork(file, 0); hfs_write(file, data.data(), data.size()); diff --git a/Rez/RezLexer.h b/Rez/RezLexer.h index 4bc4891374..9208f581b2 100644 --- a/Rez/RezLexer.h +++ b/Rez/RezLexer.h @@ -2,6 +2,7 @@ #define REZLEXER_H #include +#include class RezSymbol;