]> git.proxmox.com Git - qemu.git/commitdiff
Include qemu-timer.h iff DEBUG is defined.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 2 Dec 2007 17:47:33 +0000 (17:47 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 2 Dec 2007 17:47:33 +0000 (17:47 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3767 c046a42c-6fe2-441c-8c8c-71466251a162

hw/adlib.c

index cbe8300ec643da9eb5050b8e82200f67df1205c0..1376db919f131ed819296e29cfa7ff8e71e15697 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  * THE SOFTWARE.
  */
+
 #include <assert.h>
 #include "hw.h"
 #include "audiodev.h"
 #include "audio/audio.h"
 
+//#define DEBUG
+
 #define ADLIB_KILL_TIMERS 1
 
+#ifdef DEBUG
+#include "qemu-timer.h"
+#endif
+
 #define dolog(...) AUD_log ("adlib", __VA_ARGS__)
 #ifdef DEBUG
 #define ldebug(...) dolog (__VA_ARGS__)