summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2018-07-18 11:33:13 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2018-08-28 12:14:10 +0300
commit8e569848ae27b859d8a95b0aadb0c98db6e5dde6 (patch)
tree58bb6a5401f483f7ebcd0c2c0508eacf660e7eb4
parent721fea8373ee4db937b2a69222674cdcaefdde3f (diff)
include pulsecore-config.h because we are building out of tree
Change-Id: I294fa34f6cca2e18a0aa40e9b0b3f2e2c983cb8f Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
-rw-r--r--m4a_afb_comm.c4
-rw-r--r--module-4a-client.c9
2 files changed, 4 insertions, 9 deletions
diff --git a/m4a_afb_comm.c b/m4a_afb_comm.c
index 30e1521..f4f1ddd 100644
--- a/m4a_afb_comm.c
+++ b/m4a_afb_comm.c
@@ -18,9 +18,7 @@
along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
***/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include <pulsecore/pulsecore-config.h>
#include "m4a_afb_comm.h"
diff --git a/module-4a-client.c b/module-4a-client.c
index 9eda2fa..eabeec7 100644
--- a/module-4a-client.c
+++ b/module-4a-client.c
@@ -18,12 +18,7 @@
along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
***/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <stdbool.h>
-
+#include <pulsecore/pulsecore-config.h>
#include <pulsecore/core-util.h>
#include <pulsecore/llist.h>
#include <pulsecore/module.h>
@@ -32,6 +27,8 @@
#include <pulsecore/dynarray.h>
#include <pulsecore/semaphore.h>
+#include <stdbool.h>
+
#include "m4a_afb_comm.h"
#define DEFAULT_URI "sd:ahl-4a"