summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorploetz <ploetz@e0336214-984f-0b4b-a45f-81c69e1f0ede>2007-06-10 03:02:41 +0000
committerploetz <ploetz@e0336214-984f-0b4b-a45f-81c69e1f0ede>2007-06-10 03:02:41 +0000
commit76035dde436231f1fd8fd1fe8d4ccf493a3021f6 (patch)
tree4666940ced818dfa576177433c1de27db1fcdcbf /include
parent1b6e20e4976a0c8f404bbb051fc4437f6b916c8b (diff)
Need stdio.h for fprintf
Add debug output for ATS git-svn-id: https://svn.gnumonks.org/trunk/librfid@2002 e0336214-984f-0b4b-a45f-81c69e1f0ede
Diffstat (limited to 'include')
-rw-r--r--include/librfid/rfid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/librfid/rfid.h b/include/librfid/rfid.h
index 580cc09..e92cf58 100644
--- a/include/librfid/rfid.h
+++ b/include/librfid/rfid.h
@@ -31,6 +31,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);
personal git repositories of Harald Welte. Your mileage may vary