[libgweather/drop-old-api: 5/7] Add missing include
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/drop-old-api: 5/7] Add missing include
- Date: Fri, 15 Oct 2021 16:05:23 +0000 (UTC)
commit 6619c94de1b8e1bef516ab1b77e861429f07bc41
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]