summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-09-02 21:20:57 +0000
committerLennart Poettering <lennart@poettering.net>2007-09-02 21:20:57 +0000
commit2e8244b4bcaae3f7b1cb45ceb503d3b13f539d25 (patch)
tree73eb6cde362bd1e7bda2849e546d23e183724eae /src/pulsecore/core-util.c
parentcc8c4998757702aee7c7d154fb7170d6cb7cbfbd (diff)
Allow compilation without libsamplerate; based on patch from Marc-Andre Lureau; re #125
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1753 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/core-util.c')
-rw-r--r--src/pulsecore/core-util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index d231b658..67d33e7c 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -78,7 +78,9 @@
#include <grp.h>
#endif
+#ifdef HAVE_LIBSAMPLERATE
#include <samplerate.h>
+#endif
#include <pulse/xmalloc.h>
#include <pulse/util.h>