From e830c4b3e9289766dace5049971bd08b373a835e Mon Sep 17 00:00:00 2001
From: nehalmistry <>
Date: Sun, 7 Apr 2002 19:41:02 +0000
Subject: [PATCH] Minor bug fixes.

---
 src/sound/sound_server.cpp | 7 ++++---
 src/ui/menus.cpp           | 4 ++++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/sound/sound_server.cpp b/src/sound/sound_server.cpp
index df087f3d8..d683519e7 100644
--- a/src/sound/sound_server.cpp
+++ b/src/sound/sound_server.cpp
@@ -1228,9 +1228,10 @@ global void QuitCD(void)
     if (strcmp(CDMode,":off") && strcmp(CDMode,":stopped"))
 	SDL_CDStop(CDRom);
 	CDMode = ":stopped";
-    if (strcmp(CDMode,":off"))
+    if (strcmp(CDMode,":off")) {
         SDL_CDClose(CDRom);
-	CDMode = ":off"
+	CDMode = ":off";
+    }
 #endif
 
 #ifdef USE_LIBCDA
@@ -1240,7 +1241,7 @@ global void QuitCD(void)
     if (strcmp(CDMode,":off")) {
         cd_close();
         cd_exit();
-	CDMode = ":off"
+	CDMode = ":off";
     }
 #endif
 }
diff --git a/src/ui/menus.cpp b/src/ui/menus.cpp
index fe3507b90..d453f69f5 100644
--- a/src/ui/menus.cpp
+++ b/src/ui/menus.cpp
@@ -58,6 +58,10 @@
 #include "SDL.h"
 #endif
 
+#ifdef USE_LIBCDA
+#include "sound.h"
+#endif
+
 /*----------------------------------------------------------------------------
 --	Prototypes for local functions
 ----------------------------------------------------------------------------*/