[Spice-devel] [spice-common v2 2/8] backtrace: Add missing include

Christophe Fergeau cfergeau at redhat.com
Fri Mar 29 10:30:40 UTC 2019


This fixes a warning about missing prototype for backtrace()

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
---
 common/backtrace.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/backtrace.c b/common/backtrace.c
index c4edde1..ff72d1b 100644
--- a/common/backtrace.c
+++ b/common/backtrace.c
@@ -25,6 +25,8 @@
 #include <config.h>
 #endif
 
+#include "backtrace.h"
+
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
-- 
2.21.0



More information about the Spice-devel mailing list