Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/coelckers/gzdoom
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Oct 1, 2019
2 parents 241a476 + 8ff51ca commit f3219ca
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions libraries/music_common/fileio.h
Expand Up @@ -24,6 +24,7 @@

#pragma once
#include <stdio.h>
#include <string.h>
#include <vector>
#include <string>

Expand Down
1 change: 1 addition & 0 deletions libraries/timidity/timidity.cpp
Expand Up @@ -20,6 +20,7 @@
timidity.c
*/

#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <memory>
Expand Down
2 changes: 1 addition & 1 deletion libraries/zmusic/CMakeLists.txt
Expand Up @@ -91,7 +91,7 @@ add_library( zmusic STATIC
zmusic/zmusic.cpp
${PLAT_SOURCES}
)
target_link_libraries( zmusic )
target_link_libraries( zmusic adl dumb gme oplsynth opn timidity timidityplus wildmidi )


source_group("MIDI Devices" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/mididevices/.+")
Expand Down
2 changes: 2 additions & 0 deletions libraries/zmusic/mididevices/music_adlmidi_mididevice.cpp
Expand Up @@ -34,6 +34,8 @@

// HEADER FILES ------------------------------------------------------------

#include <stdlib.h>

#include "mididevice.h"
#include "adlmidi.h"

Expand Down
2 changes: 2 additions & 0 deletions libraries/zmusic/mididevices/music_timidity_mididevice.cpp
Expand Up @@ -34,6 +34,8 @@

// HEADER FILES ------------------------------------------------------------

#include <stdlib.h>

#include "mididevice.h"
#include "timidity/timidity.h"
#include "timidity/playmidi.h"
Expand Down
2 changes: 2 additions & 0 deletions libraries/zmusic/midisources/midisource.h
Expand Up @@ -8,6 +8,8 @@
#ifndef midisources_h
#define midisources_h

#include <stddef.h>
#include <string.h>
#include <stdint.h>
#include <functional>
#include <vector>
Expand Down
2 changes: 2 additions & 0 deletions libraries/zmusic/musicformats/music_cd.cpp
Expand Up @@ -196,6 +196,8 @@ MusInfo* CDDA_OpenSong(MusicIO::FileInterface* reader)

#else

#include <stdexcept>

MusInfo* CD_OpenSong(int track, int id)
{
throw std::runtime_error("CD Audio playback not supported");
Expand Down

0 comments on commit f3219ca

Please sign in to comment.