aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/fluidsynth.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-12-19 02:12:01 -0800
committerChris Robinson <[email protected]>2013-12-19 02:12:01 -0800
commit03a6bf22a52a4b1216f33dd2d9bddaa9f79e6a01 (patch)
tree17555d86bd27f50b23c744277e284f970cf3b3e5 /Alc/midi/fluidsynth.c
parent99933fac4940303903fcf4fbb022f48824196ed9 (diff)
Fix compiling without FluidSynth
Diffstat (limited to 'Alc/midi/fluidsynth.c')
-rw-r--r--Alc/midi/fluidsynth.c9
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 */