mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 21:55:08 +00:00
Make VFS test environment build again.
This commit is contained in:
parent
83172e6a4b
commit
981a3ae4b3
12 changed files with 40 additions and 34 deletions
|
@ -5,7 +5,9 @@
|
|||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/Retainable.h>
|
||||
|
||||
#ifdef SERENITY
|
||||
class TTY;
|
||||
#endif
|
||||
|
||||
class FileDescriptor : public Retainable<FileDescriptor> {
|
||||
public:
|
||||
|
@ -31,9 +33,11 @@ public:
|
|||
|
||||
bool isDirectory() const;
|
||||
|
||||
#ifdef SERENITY
|
||||
bool isTTY() const;
|
||||
const TTY* tty() const;
|
||||
TTY* tty();
|
||||
#endif
|
||||
|
||||
InodeMetadata metadata() const { return m_vnode->metadata(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue