summaryrefslogtreecommitdiff
path: root/profiles/sap
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/sap
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/sap')
-rw-r--r--profiles/sap/main.c4
-rw-r--r--profiles/sap/manager.c4
-rw-r--r--profiles/sap/sap-dummy.c4
-rw-r--r--profiles/sap/server.c4
4 files changed, 16 insertions, 0 deletions
diff --git a/profiles/sap/main.c b/profiles/sap/main.c
index d2218d43a..8cc953382 100644
--- a/profiles/sap/main.c
+++ b/profiles/sap/main.c
@@ -18,6 +18,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <errno.h>
#include <gdbus/gdbus.h>
#include "plugin.h"
diff --git a/profiles/sap/manager.c b/profiles/sap/manager.c
index 36fdb6c69..fddd7aa64 100644
--- a/profiles/sap/manager.c
+++ b/profiles/sap/manager.c
@@ -18,6 +18,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdbool.h>
#include "log.h"
diff --git a/profiles/sap/sap-dummy.c b/profiles/sap/sap-dummy.c
index 0f9265c2f..6c717dcb6 100644
--- a/profiles/sap/sap-dummy.c
+++ b/profiles/sap/sap-dummy.c
@@ -22,6 +22,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <glib.h>
#include <gdbus/gdbus.h>
#include <stdint.h>
diff --git a/profiles/sap/server.c b/profiles/sap/server.c
index 033b9a319..d075e40a5 100644
--- a/profiles/sap/server.c
+++ b/profiles/sap/server.c
@@ -24,6 +24,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <errno.h>
#include <glib.h>
#include <bluetooth/sdp.h>