summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/osd/modules/sound/js_sound.c1
-rw-r--r--src/osd/sdl/video.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/osd/modules/sound/js_sound.c b/src/osd/modules/sound/js_sound.c
index 5eef777ec7d..f3e11785633 100644
--- a/src/osd/modules/sound/js_sound.c
+++ b/src/osd/modules/sound/js_sound.c
@@ -13,7 +13,6 @@
#if (defined(SDLMAME_EMSCRIPTEN))
-#include "js_sound.h"
#include "emscripten.h"
class sound_js : public osd_module, public sound_module
diff --git a/src/osd/sdl/video.c b/src/osd/sdl/video.c
index 32114b59785..bef84f9ba86 100644
--- a/src/osd/sdl/video.c
+++ b/src/osd/sdl/video.c
@@ -227,7 +227,7 @@ void sdlvideo_monitor_refresh(sdl_monitor_info *monitor)
SDL_VideoDriverName(monitor->monitor_device, sizeof(monitor->monitor_device)-1);
if (first_call==0)
{
- char *dimstr = osd_getenv(SDLENV_DESKTOPDIM);
+ const char *dimstr = osd_getenv(SDLENV_DESKTOPDIM);
const SDL_VideoInfo *sdl_vi;
sdl_vi = SDL_GetVideoInfo();