summaryrefslogtreecommitdiff
path: root/src/rfid_reader_openpcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rfid_reader_openpcd.c')
-rw-r--r--src/rfid_reader_openpcd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rfid_reader_openpcd.c b/src/rfid_reader_openpcd.c
index f439c04..866bef4 100644
--- a/src/rfid_reader_openpcd.c
+++ b/src/rfid_reader_openpcd.c
@@ -56,7 +56,12 @@ static struct openpcd_hdr *rcv_hdr;
#ifndef LIBRFID_FIRMWARE
+#ifdef __MINGW32__
+#include "libusb_dyn.h"
+#else /*__MINGW32__*/
#include <usb.h>
+#endif/*__MINGW32__*/
+
static struct usb_device *dev;
static struct usb_dev_handle *hdl;
personal git repositories of Harald Welte. Your mileage may vary