summaryrefslogtreecommitdiff
path: root/src/rfid.c
diff options
context:
space:
mode:
authormeri <meri@e0336214-984f-0b4b-a45f-81c69e1f0ede>2007-04-30 18:39:18 +0000
committermeri <meri@e0336214-984f-0b4b-a45f-81c69e1f0ede>2007-04-30 18:39:18 +0000
commit1870e3694d5ce0a892c839b82520ac00f3ea55f8 (patch)
treeda28c28f4bee42663ca13d5abfe7c9c16a65ce51 /src/rfid.c
parentda107e125605438c7cf739ad34bb6204b3d4b85e (diff)
added win32 support for MINGW32-compiler/cross-compiler
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1989 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'src/rfid.c')
-rw-r--r--src/rfid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rfid.c b/src/rfid.c
index fa98220..9df85a0 100644
--- a/src/rfid.c
+++ b/src/rfid.c
@@ -17,6 +17,7 @@
#include <stdio.h>
#include <string.h>
+#include <librfid/rfid.h>
#include <librfid/rfid_reader.h>
#include <librfid/rfid_protocol.h>
#include <librfid/rfid_protocol_tcl.h>
@@ -32,6 +33,7 @@ struct rfid_reader_handle rfid_rh;
#endif
#ifndef LIBRFID_FIRMWARE
+#ifdef LIBRFID_DEBUG
const char *
rfid_hexdump(const void *data, unsigned int len)
{
@@ -48,6 +50,7 @@ rfid_hexdump(const void *data, unsigned int len)
}
return string;
}
+#endif/*LIBRFID_DEBUG*/
#else
#define rfid_hexdump(x, y) hexdump(x, y)
#endif
personal git repositories of Harald Welte. Your mileage may vary