diff options
author | Chris Robinson <[email protected]> | 2013-12-19 02:12:01 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-12-19 02:12:01 -0800 |
commit | 03a6bf22a52a4b1216f33dd2d9bddaa9f79e6a01 (patch) | |
tree | 17555d86bd27f50b23c744277e284f970cf3b3e5 /Alc | |
parent | 99933fac4940303903fcf4fbb022f48824196ed9 (diff) |
Fix compiling without FluidSynth
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/midi/fluidsynth.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Alc/midi/fluidsynth.c b/Alc/midi/fluidsynth.c index 91c7229d..7461cc4e 100644 --- a/Alc/midi/fluidsynth.c +++ b/Alc/midi/fluidsynth.c @@ -1,14 +1,11 @@ #include "config.h" -#ifdef HAVE_FLUIDSYNTH - -#include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> -#include <fluidsynth.h> +#include "midi/base.h" #include "alMain.h" #include "alError.h" @@ -16,7 +13,9 @@ #include "rwlock.h" #include "alu.h" -#include "midi/base.h" +#ifdef HAVE_FLUIDSYNTH + +#include <fluidsynth.h> /* MIDI events */ |