summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2013-11-19 21:14:03 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2013-11-19 21:14:03 +0100
commitd95f2888014f54fc650dc575c270cc2891580f4f (patch)
treecbc3c53a3e1dc47d6ba1e5671b3fd5691fa1ce28 /session.c
parente630b755f6a3573b6bca87cd280048468204216f (diff)
downloadlibsigrokdecode-d95f2888014f54fc650dc575c270cc2891580f4f.tar.gz
libsigrokdecode-d95f2888014f54fc650dc575c270cc2891580f4f.zip
Add a missing #include.
This causes compiler errors in some setups otherwise, e.g.: CC libsigrokdecode_la-session.lo session.c: In function 'srd_session_metadata_set': session.c:195:46: error: expected ')' before 'PRIu64' srd_dbg("Setting session %d samplerate to %"PRIu64".", ^ session.c: In function 'srd_session_send': session.c:242:15: error: expected ')' before 'PRIu64' "number %" PRIu64 ", %" PRIu64 " bytes at 0x%p", ^
Diffstat (limited to 'session.c')
-rw-r--r--session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.c b/session.c
index 7eeab16..84c38a6 100644
--- a/session.c
+++ b/session.c
@@ -21,6 +21,7 @@
#include "libsigrokdecode.h" /* First, so we avoid a _POSIX_C_SOURCE warning. */
#include "libsigrokdecode-internal.h"
#include "config.h"
+#include <inttypes.h>
#include <glib.h>
/**