summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-04-01 18:23:10 +0300
committerHans de Goede <hdegoede@redhat.com>2011-05-04 13:33:08 +0200
commit7982f7b775e3b72f0a85c8f2158483ccbc6e1e57 (patch)
tree88c0727fd9e95ee37c494373be51da901ffa5493
parentb636f267c5bdd771f8a4adad252d894d6aa677d8 (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).
-rw-r--r--qemu-thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-thread.h b/qemu-thread.h
index 19bb30c94..be9e1aaf5 100644
--- a/qemu-thread.h
+++ b/qemu-thread.h
@@ -15,6 +15,8 @@ struct QemuThread {
pthread_t thread;
};
+#include <inttypes.h>
+
typedef struct QemuMutex QemuMutex;
typedef struct QemuCond QemuCond;
typedef struct QemuThread QemuThread;