[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/2] fprintf-fn.h uses GCC_FMT, but doesn't include
From: |
Daniel Loffgren |
Subject: |
[Qemu-devel] [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);
--
- [Qemu-devel] [PATCH 1/2] fprintf-fn.h uses GCC_FMT, but doesn't include the definition of it,
Daniel Loffgren <=