aboutsummaryrefslogtreecommitdiff
path: root/qemu-thread.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-03-15 00:18:02 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-04-01 19:07:48 -0500
commit65097429ae1929c0c2da5577f6510a1eac82bd7a (patch)
tree863fb6bc752020faeeaadc777bcce31c7424ed86 /qemu-thread.h
parentf20600f213d4cae223660b4ca2eddf139f5e681e (diff)
qemu-thread.h: include inttypes.h
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).
Diffstat (limited to 'qemu-thread.h')
-rw-r--r--qemu-thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-thread.h b/qemu-thread.h
index edc7ab6858..0a73d50524 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;