summaryrefslogtreecommitdiff
path: root/profiles/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-12-07 12:46:04 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-07 12:46:04 +0200
commitb8779d2202a2cd19fb9db8cdf9584a9718257072 (patch)
tree6683fa2c0f16f1a89a2ad9d73493220de7e1f474 /profiles/audio
parent7ff3126564b2ddd48c8a522a584717f925459dbb (diff)
downloadbluez-b8779d2202a2cd19fb9db8cdf9584a9718257072.tar.gz
Revert "Ensure config.h is included by using CPPFLAGS"
This reverts commit 8a03376544b046a84301847d1594f6c3674983ff. The patch needs to be split up and the gdbus/ changes were bogus compared to the original commit message. Conflicts: Makefile.am Makefile.obexd profiles/cyclingspeed/cyclingspeed.c profiles/heartrate/heartrate.c src/error.c
Diffstat (limited to 'profiles/audio')
-rw-r--r--profiles/audio/a2dp.c4
-rw-r--r--profiles/audio/avctp.c4
-rw-r--r--profiles/audio/avdtp.c4
-rw-r--r--profiles/audio/avrcp.c4
-rw-r--r--profiles/audio/control.c4
-rw-r--r--profiles/audio/device.c4
-rw-r--r--profiles/audio/main.c4
-rw-r--r--profiles/audio/manager.c4
-rw-r--r--profiles/audio/media.c4
-rw-r--r--profiles/audio/player.c4
-rw-r--r--profiles/audio/sink.c4
-rw-r--r--profiles/audio/source.c4
-rw-r--r--profiles/audio/transport.c4
13 files changed, 52 insertions, 0 deletions
diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index ffdcec64d..177f65342 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -23,6 +23,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <errno.h>
diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index 061ebd088..382e77de6 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -23,6 +23,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c
index 8fd7118cf..3007053d0 100644
--- a/profiles/audio/avdtp.c
+++ b/profiles/audio/avdtp.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 6da001ad7..8af681b21 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -23,6 +23,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
diff --git a/profiles/audio/control.c b/profiles/audio/control.c
index b8a66f0a8..ef6df720d 100644
--- a/profiles/audio/control.c
+++ b/profiles/audio/control.c
@@ -23,6 +23,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdint.h>
#include <errno.h>
diff --git a/profiles/audio/device.c b/profiles/audio/device.c
index 2ee0d3d7f..9979b3643 100644
--- a/profiles/audio/device.c
+++ b/profiles/audio/device.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
diff --git a/profiles/audio/main.c b/profiles/audio/main.c
index 0c3a7037f..6bf406f0f 100644
--- a/profiles/audio/main.c
+++ b/profiles/audio/main.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <errno.h>
#include <sys/socket.h>
#include <unistd.h>
diff --git a/profiles/audio/manager.c b/profiles/audio/manager.c
index 5efe1665d..8d7dc22de 100644
--- a/profiles/audio/manager.c
+++ b/profiles/audio/manager.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
diff --git a/profiles/audio/media.c b/profiles/audio/media.c
index 4c5d38b55..0839f6982 100644
--- a/profiles/audio/media.c
+++ b/profiles/audio/media.c
@@ -23,6 +23,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <errno.h>
#include <bluetooth/uuid.h>
diff --git a/profiles/audio/player.c b/profiles/audio/player.c
index 9a820b73e..b04d99e47 100644
--- a/profiles/audio/player.c
+++ b/profiles/audio/player.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
diff --git a/profiles/audio/sink.c b/profiles/audio/sink.c
index c8f72073e..4be3bacd9 100644
--- a/profiles/audio/sink.c
+++ b/profiles/audio/sink.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdint.h>
#include <stdbool.h>
#include <errno.h>
diff --git a/profiles/audio/source.c b/profiles/audio/source.c
index 964f273a6..6713cc496 100644
--- a/profiles/audio/source.c
+++ b/profiles/audio/source.c
@@ -23,6 +23,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdint.h>
#include <stdbool.h>
#include <errno.h>
diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c
index ad4ae0d84..abb22b41f 100644
--- a/profiles/audio/transport.c
+++ b/profiles/audio/transport.c
@@ -22,6 +22,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <errno.h>
#include <bluetooth/uuid.h>