From 794b6d27ef1f46f305ecc5ac41df381d6dcfdb75 Mon Sep 17 00:00:00 2001 From: "rafael@riseup.net" Date: Thu, 5 Nov 2009 17:47:44 +0000 Subject: [PATCH] placed a more apropriate fix, following the coding style - closes issue 3 --- darkice/trunk/src/JackDspSource.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/darkice/trunk/src/JackDspSource.cpp b/darkice/trunk/src/JackDspSource.cpp index 2404f2f..08bc0f4 100644 --- a/darkice/trunk/src/JackDspSource.cpp +++ b/darkice/trunk/src/JackDspSource.cpp @@ -31,7 +31,6 @@ /* ============================================================ include files */ -#include #include "AudioSource.h" #ifdef SUPPORT_JACK_DSP @@ -65,6 +64,18 @@ #error need math.h #endif +#ifdef HAVE_STDLIB_H +#include +#else +#error needs stdlib.h +#endif + +#ifdef HAVE_LIMITS_H +#include +#else +#error need limits.h +#endif + #include "Util.h" #include "Exception.h" #include "JackDspSource.h"