qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PATCH 1/2] fprintf-fn.h uses GCC_FMT, but doesn't includ


From: Daniel Loffgren
Subject: [Qemu-trivial] [PATCH 1/2] fprintf-fn.h uses GCC_FMT, but doesn't include the definition of it
Date: Sun, 24 Sep 2017 18:02:21 -0700

Signed-off-by: Daniel Loffgren <address@hidden>
---
 include/qemu/fprintf-fn.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/qemu/fprintf-fn.h b/include/qemu/fprintf-fn.h
index 9068a960b3..80361d87bf 100644
--- a/include/qemu/fprintf-fn.h
+++ b/include/qemu/fprintf-fn.h
@@ -8,6 +8,8 @@
 #ifndef QEMU_FPRINTF_FN_H
 #define QEMU_FPRINTF_FN_H
 
+#include "compiler.h"
+
 typedef int (*fprintf_function)(FILE *f, const char *fmt, ...)
     GCC_FMT_ATTR(2, 3);
 
-- 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]