From 3e18d7e6828cd82bab2be5d653e11f100a00655b Mon Sep 17 00:00:00 2001 From: meri Date: Mon, 29 Oct 2007 01:23:36 +0000 Subject: applied Rainer Kellers fix 'Header missing, define name typo' git-svn-id: https://svn.gnumonks.org/trunk/librfid@2016 e0336214-984f-0b4b-a45f-81c69e1f0ede --- include/librfid/rfid.h | 1 + src/rfid.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/librfid/rfid.h b/include/librfid/rfid.h index e92cf58..64d6c06 100644 --- a/include/librfid/rfid.h +++ b/include/librfid/rfid.h @@ -3,6 +3,7 @@ #include #include +#include #ifdef __MINGW32__ #define ENOTSUP 100 diff --git a/src/rfid.c b/src/rfid.c index 9df85a0..a38171f 100644 --- a/src/rfid.c +++ b/src/rfid.c @@ -33,7 +33,7 @@ struct rfid_reader_handle rfid_rh; #endif #ifndef LIBRFID_FIRMWARE -#ifdef LIBRFID_DEBUG +#ifdef DEBUG_LIBRFID const char * rfid_hexdump(const void *data, unsigned int len) { @@ -50,7 +50,7 @@ rfid_hexdump(const void *data, unsigned int len) } return string; } -#endif/*LIBRFID_DEBUG*/ +#endif/*DEBUG_LIBRFID*/ #else #define rfid_hexdump(x, y) hexdump(x, y) #endif -- cgit v1.2.3