diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2013-11-19 21:14:03 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2013-11-19 21:14:03 +0100 |
commit | d95f2888014f54fc650dc575c270cc2891580f4f (patch) | |
tree | cbc3c53a3e1dc47d6ba1e5671b3fd5691fa1ce28 /session.c | |
parent | e630b755f6a3573b6bca87cd280048468204216f (diff) | |
download | libsigrokdecode-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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> /** |