diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-07 12:46:04 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-12-07 12:46:04 +0200 |
commit | b8779d2202a2cd19fb9db8cdf9584a9718257072 (patch) | |
tree | 6683fa2c0f16f1a89a2ad9d73493220de7e1f474 /profiles/cyclingspeed | |
parent | 7ff3126564b2ddd48c8a522a584717f925459dbb (diff) | |
download | bluez-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/cyclingspeed')
-rw-r--r-- | profiles/cyclingspeed/cyclingspeed.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/profiles/cyclingspeed/cyclingspeed.c b/profiles/cyclingspeed/cyclingspeed.c index 468f18001..e236ff791 100644 --- a/profiles/cyclingspeed/cyclingspeed.c +++ b/profiles/cyclingspeed/cyclingspeed.c @@ -20,11 +20,15 @@ * */ -#include <gdbus/gdbus.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <errno.h> #include <stdbool.h> #include <glib.h> #include <bluetooth/uuid.h> +#include <gdbus/gdbus.h> #include "plugin.h" #include "adapter.h" |