qemu-thread.h: include inttypes.h
authorAlon Levy <alevy@redhat.com>
Mon, 14 Mar 2011 22:18:02 +0000 (00:18 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 2 Apr 2011 00:07:48 +0000 (19:07 -0500)
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

index edc7ab68589e9b3875d19a886b4e64191485af27..0a73d50524929f8a7387c6d163e2c4eb2dfe958a 100644 (file)
@@ -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;