diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c
index bb264d3..3aaa089 100644
--- a/src/shared/gatt-client.c
+++ b/src/shared/gatt-client.c
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "src/shared/att.h"
#include "lib/bluetooth.h"
#include "lib/uuid.h"
diff --git a/src/shared/gatt-db.c b/src/shared/gatt-db.c
index 6ef708d..cc49458 100644
--- a/src/shared/gatt-db.c
+++ b/src/shared/gatt-db.c
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdbool.h>
#include <errno.h>
diff --git a/src/shared/gatt-server.c b/src/shared/gatt-server.c
index 6dec3f3..4025cd1 100644
--- a/src/shared/gatt-server.c
+++ b/src/shared/gatt-server.c
*
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <sys/uio.h>
#include <errno.h>