diff options
-rw-r--r-- | include/librfid/rfid.h | 1 | ||||
-rw-r--r-- | 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 <stddef.h> #include <sys/types.h> +#include <stdio.h> #ifdef __MINGW32__ #define ENOTSUP 100 @@ -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 |