mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-27 22:43:36 +00:00
Merge pull request #355 from carlo-bramini/master
Build fixes and header cleanups.
This commit is contained in:
commit
d76a23c28d
3 changed files with 12 additions and 15 deletions
|
@ -18,14 +18,8 @@
|
|||
* 02110-1301, USA
|
||||
*/
|
||||
#include "fluid_lash.h"
|
||||
#include "fluid_synth.h"
|
||||
|
||||
#include <unistd.h> /* for usleep() */
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
#ifdef HAVE_LASH
|
||||
|
||||
static void fluid_lash_save (fluid_synth_t * synth);
|
||||
static void fluid_lash_load (fluid_synth_t * synth, const char * filename);
|
||||
|
@ -35,15 +29,11 @@ static void *fluid_lash_run (void * data);
|
|||
* lash client - this symbol needs to be in the library else
|
||||
* all clients would need a fluid_lash_client symbol.
|
||||
*/
|
||||
#ifdef HAVE_LASH
|
||||
lash_client_t * fluid_lash_client;
|
||||
#endif
|
||||
|
||||
static pthread_t fluid_lash_thread;
|
||||
|
||||
|
||||
#ifdef HAVE_LASH
|
||||
|
||||
fluid_lash_args_t *
|
||||
fluid_lash_extract_args (int * pargc, char *** pargv)
|
||||
{
|
||||
|
|
|
@ -19,13 +19,14 @@
|
|||
*/
|
||||
|
||||
|
||||
#define INITGUID
|
||||
|
||||
#include "fluidsynth_priv.h"
|
||||
#include "fluid_synth.h"
|
||||
#include "fluid_sys.h"
|
||||
#include "fluid_adriver.h"
|
||||
#include "fluid_settings.h"
|
||||
|
||||
#if DSOUND_SUPPORT
|
||||
|
||||
#define INITGUID
|
||||
|
||||
#include <mmsystem.h>
|
||||
#include <dsound.h>
|
||||
|
||||
|
@ -368,3 +369,5 @@ char* fluid_win32_error(HRESULT hr) {
|
|||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
#endif /* DSOUND_SUPPORT */
|
||||
|
|
|
@ -106,6 +106,10 @@
|
|||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_SIGNAL_H
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
/** Integer types */
|
||||
#if HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
|
|
Loading…
Reference in a new issue