diff --git a/src/libnfc.c b/src/libnfc.c
index d857a2a..6026f0f 100644
--- a/src/libnfc.c
+++ b/src/libnfc.c
@@ -24,6 +24,8 @@ along with this program. If not, see
#include
#include
+#include "devices.h"
+
#include "bitutils.h"
// Registers and symbols masks used to covers parts within a register
diff --git a/src/libnfc.h b/src/libnfc.h
index 48b3a69..051b603 100644
--- a/src/libnfc.h
+++ b/src/libnfc.h
@@ -27,7 +27,6 @@ along with this program. If not, see
#include "defines.h"
#include "types.h"
#include "bitutils.h"
-#include "devices.h"
dev_info* nfc_connect(void);
void nfc_disconnect(dev_info* pdi);