diff --git a/Makefile.obexd b/Makefile.obexd
index a895753..e235acc 100644
--- a/Makefile.obexd
+++ b/Makefile.obexd
-fPIC -D_FILE_OFFSET_BITS=64
obexd_src_obexd_CPPFLAGS = -include $(top_builddir)/config.h -I$(builddir)/lib \
- -I$(builddir)/obexd/src \
- -I$(srcdir)/obexd/src \
- -I$(srcdir)/gobex
+ -I$(builddir)/obexd/src -I$(srcdir)/obexd/src
obexd_src_obexd_SHORTNAME = obexd
-fPIC -D_FILE_OFFSET_BITS=64
obexd_client_obex_client_CPPFLAGS = -include $(top_builddir)/config.h \
- -I$(builddir)/lib -I$(srcdir)/obexd/src \
- -I$(srcdir)/gobex
+ -I$(builddir)/lib -I$(srcdir)/obexd/src
obexd_client_obex_client_SHORTNAME = obex-client
diff --git a/obexd/client/map.c b/obexd/client/map.c
index 6d7d926..ba33fe2 100644
--- a/obexd/client/map.c
+++ b/obexd/client/map.c
#include <stdio.h>
#include <glib.h>
#include <gdbus/gdbus.h>
-
-#include <gobex-apparam.h>
+#include <gobex/gobex-apparam.h>
#include "dbus.h"
#include "log.h"
diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c
index 00b631a..c9a5e48 100644
--- a/obexd/client/pbap.c
+++ b/obexd/client/pbap.c
#include <gdbus/gdbus.h>
#include <bluetooth/bluetooth.h>
-#include <gobex-apparam.h>
+#include <gobex/gobex-apparam.h>
#include "log.h"
diff --git a/obexd/client/session.c b/obexd/client/session.c
index 4ee9d21..2118992 100644
--- a/obexd/client/session.c
+++ b/obexd/client/session.c
#include <glib.h>
#include <gdbus/gdbus.h>
-#include <gobex.h>
+#include <gobex/gobex.h>
#include "dbus.h"
#include "log.h"
diff --git a/obexd/client/transfer.c b/obexd/client/transfer.c
index 662e087..362419c 100644
--- a/obexd/client/transfer.c
+++ b/obexd/client/transfer.c
#include <glib.h>
#include <gdbus/gdbus.h>
-#include <gobex.h>
+#include <gobex/gobex.h>
#include "dbus.h"
#include "log.h"
diff --git a/obexd/plugins/pbap.c b/obexd/plugins/pbap.c
index 79237b6..e94edae 100644
--- a/obexd/plugins/pbap.c
+++ b/obexd/plugins/pbap.c
#include <fcntl.h>
#include <inttypes.h>
-#include <gobex.h>
+#include <gobex/gobex.h>
#include <gobex-apparam.h>
#include "obexd.h"
diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index ccf03ca..ce66e19 100644
--- a/obexd/src/manager.c
+++ b/obexd/src/manager.c
#include <inttypes.h>
#include <btio/btio.h>
-#include <gobex.h>
+#include <gobex/gobex.h>
#include "obexd.h"
#include "obex.h"
diff --git a/obexd/src/server.c b/obexd/src/server.c
index 0b63276..9976bd0 100644
--- a/obexd/src/server.c
+++ b/obexd/src/server.c
#include <inttypes.h>
#include <glib.h>
-#include <gobex.h>
+#include <gobex/gobex.h>
#include "log.h"
#include "obex.h"