summaryrefslogtreecommitdiff
path: root/include/librfid/rfid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/librfid/rfid.h')
-rw-r--r--include/librfid/rfid.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/include/librfid/rfid.h b/include/librfid/rfid.h
index 187e884..580cc09 100644
--- a/include/librfid/rfid.h
+++ b/include/librfid/rfid.h
@@ -1,13 +1,21 @@
#ifndef _RFID_H
#define _RFID_H
-#include <stdio.h>
+#include <stddef.h>
+#include <sys/types.h>
-#ifdef __LIBRFID__
+#ifdef __MINGW32__
+#define ENOTSUP 100
+#define ETIMEDOUT 101
+typedef unsigned char u_int8_t;
+typedef unsigned short u_int16_t;
+typedef unsigned long u_int32_t;
+typedef unsigned long long u_int64_t;
+#endif/*__MINGW32__*/
-#include <librfid/rfid_system.h>
+#ifdef __LIBRFID__
-//#define DEBUG_LIBRFID
+#include <librfid/rfid_system.h>
#ifdef DEBUG_LIBRFID
personal git repositories of Harald Welte. Your mileage may vary