X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=src%2Frfid_asic_rc632.c;h=6fa4ee332ac76adf8b4c729d7c6ec51a38664119;hb=1870e3694d5ce0a892c839b82520ac00f3ea55f8;hp=0560d0933e46bbc79e8cbeb6ce958104e6c72fcd;hpb=da107e125605438c7cf739ad34bb6204b3d4b85e;p=librfid diff --git a/src/rfid_asic_rc632.c b/src/rfid_asic_rc632.c index 0560d09..6fa4ee3 100644 --- a/src/rfid_asic_rc632.c +++ b/src/rfid_asic_rc632.c @@ -35,8 +35,10 @@ #include "rfid_iso14443_common.h" #include "rc632.h" -//#include "rc632_14443a.h" +#ifdef __MINGW32__ +#include "usleep.h" +#endif/*__MINGW32__*/ #define RC632_TMO_AUTH1 140 @@ -608,7 +610,7 @@ rc632_open(struct rfid_asic_transport_handle *th) return NULL; memset(h, 0, sizeof(*h)); - h->asic = &rc632; + h->asic = (void*)&rc632; h->rath = th; h->fc = h->asic->fc; /* FIXME: this is only cm5121 specific, since the latency