mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-01 15:41:39 +00:00
Fix some missing #includes
This commit is contained in:
parent
e458106fa8
commit
2268b5f093
|
@ -4,6 +4,7 @@
|
||||||
#include <boost/filesystem.hpp>
|
#include <boost/filesystem.hpp>
|
||||||
#include "boost/filesystem/fstream.hpp"
|
#include "boost/filesystem/fstream.hpp"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include <sys/xattr.h>
|
#include <sys/xattr.h>
|
||||||
|
@ -341,7 +342,7 @@ bool ResourceFile::write()
|
||||||
hfs_format(pathstring.c_str(), 0, 0, path.stem().string().substr(0,27).c_str(), 0, NULL);
|
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);
|
hfsvol *vol = hfs_mount(pathstring.c_str(), 0, HFS_MODE_RDWR);
|
||||||
//hfs_setvol(vol, )
|
//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());
|
((std::string)type).c_str(), ((std::string)creator).c_str());
|
||||||
hfs_setfork(file, 0);
|
hfs_setfork(file, 0);
|
||||||
hfs_write(file, data.data(), data.size());
|
hfs_write(file, data.data(), data.size());
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#define REZLEXER_H
|
#define REZLEXER_H
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
class RezSymbol;
|
class RezSymbol;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user