Fixing GdbStub Code to make it compiled with Clang (#2292)

- Fix the switch scoping preventing declaration
- Adding stdint.h as inclusion to make uint*_t works
This commit is contained in:
Didiet
2022-04-16 13:12:38 +07:00
committed by GitHub
parent b840ca618e
commit 100eaf70ee
2 changed files with 9 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
*/
#ifndef EMU_GDBSTUB_H
#define EMU_GDBSTUB_H
#include <stdint.h>
#include <86box/mem.h>
#define GDBSTUB_MEM_READ 0