On 14/1/26 09:38, Thomas Huth wrote:
From: Thomas Huth <[email protected]>Compiling on NetBSD currently fails with: ../src/target/i386/nvmm/nvmm-all.c:1136:22: error: unknown type name 'RAMBlockNotifier' 1136 | nvmm_ram_block_added(RAMBlockNotifier *n, void *host, size_t size, | ^~~~~~~~~~~~~~~~ ../src/target/i386/nvmm/nvmm-all.c:1152:15: error: variable 'nvmm_ram_notifier' has initializer but incomplete type 1152 | static struct RAMBlockNotifier nvmm_ram_notifier = { | ^~~~~~~~~~~~~~~~ ../src/target/i386/nvmm/nvmm-all.c:1153:6: error: 'struct RAMBlockNotifier' has no member named 'ram_block_added' 1153 | .ram_block_added = nvmm_ram_block_added | ^~~~~~~~~~~~~~~ ../src/target/i386/nvmm/nvmm-all.c:1153:24: error: 'nvmm_ram_block_added' undeclared here (not in a function) 1153 | .ram_block_added = nvmm_ram_block_added | ^~~~~~~~~~~~~~~~~~~~ Include the right header to get this fixed. Signed-off-by: Thomas Huth <[email protected]> --- target/i386/nvmm/nvmm-all.c | 1 + 1 file changed, 1 insertion(+)
Queued via accel-next tree, thanks!
