diff --git a/src/modules/module-detect.c b/src/modules/module-detect.c index 1616d47c8..9ed262db4 100644 --- a/src/modules/module-detect.c +++ b/src/modules/module-detect.c @@ -239,7 +239,7 @@ int pa__init(pa_module*m) { #ifdef HAVE_ALSA if ((n = detect_alsa(m->core, just_one)) <= 0) #endif -#if HAVE_OSS +#ifdef HAVE_OSS if ((n = detect_oss(m->core, just_one)) <= 0) #endif #ifdef HAVE_SOLARIS diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c index 6b3836e11..ff87284a4 100644 --- a/src/pulsecore/resampler.c +++ b/src/pulsecore/resampler.c @@ -25,7 +25,7 @@ #include -#if HAVE_LIBSAMPLERATE +#ifdef HAVE_LIBSAMPLERATE #include #endif