[libgweather/drop-old-api: 2/4] Add missing include




commit 258dc9b224d93c9d6846a823dacc286357c84e88
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Oct 15 16:57:54 2021 +0100

    Add missing include
    
    We're relying on a side effect of including gdk-pixbuf.h, which leaks
    stdio.h in our sources.

 libgweather/tools/test_sun_moon.c | 1 +
 libgweather/weather-metar.c       | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/libgweather/tools/test_sun_moon.c b/libgweather/tools/test_sun_moon.c
index 6cdfb50c..2cdc9ec3 100644
--- a/libgweather/tools/test_sun_moon.c
+++ b/libgweather/tools/test_sun_moon.c
@@ -8,6 +8,7 @@
 #include "config.h"
 
 #include <glib.h>
+#include <stdio.h>
 #include <string.h>
 #include <time.h>
 
diff --git a/libgweather/weather-metar.c b/libgweather/weather-metar.c
index 7f3bf46d..94a77ca2 100644
--- a/libgweather/weather-metar.c
+++ b/libgweather/weather-metar.c
@@ -8,6 +8,7 @@
 
 #include "gweather-private.h"
 
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>


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