From cc82fde9c7b4b598907914896ee6942fa866258c Mon Sep 17 00:00:00 2001 From: Christian Schoenebeck Date: Fri, 1 Oct 2021 16:27:46 +0200 Subject: 9pfs: make V9fsPath usable via P9Array API Signed-off-by: Christian Schoenebeck Message-Id: <79a0ddf8375f6c95f0565ef155a1bf1e9387664f.1633097129.git.qemu_oss@crudebyte.com> --- fsdev/file-op-9p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fsdev') diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h index 42f677c..8fd89f0 100644 --- a/fsdev/file-op-9p.h +++ b/fsdev/file-op-9p.h @@ -18,6 +18,7 @@ #include #include #include "qemu-fsdev-throttle.h" +#include "p9array.h" #define SM_LOCAL_MODE_BITS 0600 #define SM_LOCAL_DIR_MODE_BITS 0700 @@ -105,6 +106,7 @@ struct V9fsPath { uint16_t size; char *data; }; +P9ARRAY_DECLARE_TYPE(V9fsPath); typedef union V9fsFidOpenState V9fsFidOpenState; -- cgit v1.1