From 3b8a414cd22923357aa987655b3029fcb80ef01d Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 15 Jul 2009 17:45:38 +0000 Subject: [PATCH] dev_callbacks_list should only get compiled into the libnfc library, not in every client application. (Thanks to snapdev) --- src/libnfc.c | 2 ++ src/libnfc.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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);