diff options
Diffstat (limited to 'sdpd')
-rw-r--r-- | sdpd/request.c | 2 | ||||
-rw-r--r-- | sdpd/sdpd.h | 3 | ||||
-rw-r--r-- | sdpd/service.c | 2 |
3 files changed, 7 insertions, 0 deletions
diff --git a/sdpd/request.c b/sdpd/request.c index ff3b5642..f587cada 100644 --- a/sdpd/request.c +++ b/sdpd/request.c @@ -38,7 +38,9 @@ #include <malloc.h> #include <syslog.h> #include <netinet/in.h> +#include <sys/socket.h> +#include <bluetooth/bluetooth.h> #include <bluetooth/sdp.h> #include <bluetooth/sdp_lib.h> diff --git a/sdpd/sdpd.h b/sdpd/sdpd.h index 37c685e2..c669e603 100644 --- a/sdpd/sdpd.h +++ b/sdpd/sdpd.h @@ -30,6 +30,9 @@ #ifndef SDPD_H #define SDPD_H +#define sdp_get_unaligned bt_get_unaligned +#define sdp_put_unaligned bt_put_unaligned + #define SDPINF(fmt, arg...) syslog(LOG_INFO, fmt "\n", ## arg) #define SDPERR(fmt, arg...) syslog(LOG_ERR, "%s: " fmt "\n", __func__ , ## arg) diff --git a/sdpd/service.c b/sdpd/service.c index 4d03c917..c69aa509 100644 --- a/sdpd/service.c +++ b/sdpd/service.c @@ -35,7 +35,9 @@ */ #include <netinet/in.h> +#include <sys/socket.h> +#include <bluetooth/bluetooth.h> #include <bluetooth/sdp.h> #include <bluetooth/sdp_lib.h> |