applied Rainer Kellers fix 'Header missing, define name typo'
authormeri <meri@e0336214-984f-0b4b-a45f-81c69e1f0ede>
Mon, 29 Oct 2007 01:23:36 +0000 (01:23 +0000)
committermeri <meri@e0336214-984f-0b4b-a45f-81c69e1f0ede>
Mon, 29 Oct 2007 01:23:36 +0000 (01:23 +0000)
git-svn-id: https://svn.gnumonks.org/trunk/librfid@2016 e0336214-984f-0b4b-a45f-81c69e1f0ede

include/librfid/rfid.h
src/rfid.c

index e92cf58..64d6c06 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <stddef.h>
 #include <sys/types.h>
+#include <stdio.h>
 
 #ifdef  __MINGW32__
 #define ENOTSUP         100
index 9df85a0..a38171f 100644 (file)
@@ -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