diff options
Diffstat (limited to 'hw/9pfs/9p.h')
-rw-r--r-- | hw/9pfs/9p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h index 43378943cd..92ee309ef4 100644 --- a/hw/9pfs/9p.h +++ b/hw/9pfs/9p.h @@ -167,13 +167,17 @@ typedef struct V9fsXattr int flags; } V9fsXattr; +typedef struct V9fsDir { + DIR *stream; +} V9fsDir; + /* * Filled by fs driver on open and other * calls. */ union V9fsFidOpenState { int fd; - DIR *dir; + V9fsDir dir; V9fsXattr xattr; /* * private pointer for fs drivers, that |