[v23,02/11] qemu-thread.h: include inttypes.h

Submitted by Alon Levy on March 23, 2011, 1:19 p.m.

Details

Message ID 1300886393-2799-3-git-send-email-alevy@redhat.com
State New
Headers show

Commit Message

Alon Levy March 23, 2011, 1:19 p.m.
qemu-thread.h relies on uint64_t being defined, but doesn't include
inttypes.h explicitly. This makes it easier to use it from vscclient (part
of libcacard).
---
 qemu-thread.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Jes Sorensen March 28, 2011, 11:59 a.m.
On 03/23/11 14:19, Alon Levy wrote:
> qemu-thread.h relies on uint64_t being defined, but doesn't include
> inttypes.h explicitly. This makes it easier to use it from vscclient (part
> of libcacard).
> ---
>  qemu-thread.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com>

This should be able to go in as is - even other parts of ccid should stall.

Cheers,
Jes

Patch hide | download patch | download mbox

diff --git a/qemu-thread.h b/qemu-thread.h
index edc7ab6..0a73d50 100644
--- a/qemu-thread.h
+++ b/qemu-thread.h
@@ -1,6 +1,8 @@ 
 #ifndef __QEMU_THREAD_H
 #define __QEMU_THREAD_H 1
 
+#include <inttypes.h>
+
 typedef struct QemuMutex QemuMutex;
 typedef struct QemuCond QemuCond;
 typedef struct QemuThread QemuThread;