applied Rainer Kellers fix 'Header missing, define name typo'
[librfid] / include / librfid / rfid.h
index 580cc09..64d6c06 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <stddef.h>
 #include <sys/types.h>
+#include <stdio.h>
 
 #ifdef  __MINGW32__
 #define ENOTSUP         100
@@ -31,6 +32,8 @@ extern const char *rfid_hexdump(const void *data, unsigned int len);
 #define DEBUGPC(x, args ...) fprintf(stderr, x, ## args)
 #endif /* LIBRFID_FIRMWARE */
 
+#include <stdio.h>
+
 #else /* DEBUG */
 extern const char *rfid_hexdump(const void *data, unsigned int len);