[gssdp] all: Unconditionally include config.h
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] all: Unconditionally include config.h
- Date: Sun, 20 Jun 2021 14:10:46 +0000 (UTC)
commit 8d9f9996e89e1120cc3a7ff967b2835342928721
Author: Jens Georg <mail jensge org>
Date: Sun Jun 20 16:01:59 2021 +0200
all: Unconditionally include config.h
We always generate it with meson
libgssdp/gssdp-net-bionic.c | 2 --
libgssdp/gssdp-net-posix.c | 2 --
libgssdp/gssdp-pktinfo-message.c | 2 --
libgssdp/gssdp-resource-browser.c | 2 --
libgssdp/gssdp-resource-group.c | 2 --
libgssdp/gssdp-socket-functions.c | 2 --
libgssdp/gssdp-socket-source.c | 4 +---
7 files changed, 1 insertion(+), 15 deletions(-)
---
diff --git a/libgssdp/gssdp-net-bionic.c b/libgssdp/gssdp-net-bionic.c
index 1e44aeb..0e00b42 100644
--- a/libgssdp/gssdp-net-bionic.c
+++ b/libgssdp/gssdp-net-bionic.c
@@ -7,9 +7,7 @@
*
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif /* HAVE_CONFIG_H */
#include "gssdp-net.h"
diff --git a/libgssdp/gssdp-net-posix.c b/libgssdp/gssdp-net-posix.c
index 550548e..e98fd20 100644
--- a/libgssdp/gssdp-net-posix.c
+++ b/libgssdp/gssdp-net-posix.c
@@ -9,9 +9,7 @@
#define G_LOG_DOMAIN "gssdp-net"
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif /* HAVE_CONFIG_H */
#include "gssdp-net.h"
diff --git a/libgssdp/gssdp-pktinfo-message.c b/libgssdp/gssdp-pktinfo-message.c
index a77a62c..0ff9f97 100644
--- a/libgssdp/gssdp-pktinfo-message.c
+++ b/libgssdp/gssdp-pktinfo-message.c
@@ -7,9 +7,7 @@
*
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif /* HAVE_CONFIG_H */
#include "gssdp-pktinfo-message.h"
diff --git a/libgssdp/gssdp-resource-browser.c b/libgssdp/gssdp-resource-browser.c
index eafa928..7ebc08a 100644
--- a/libgssdp/gssdp-resource-browser.c
+++ b/libgssdp/gssdp-resource-browser.c
@@ -7,9 +7,7 @@
*
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif /* HAVE_CONFIG_H */
#include "gssdp-resource-browser.h"
#include "gssdp-client-private.h"
diff --git a/libgssdp/gssdp-resource-group.c b/libgssdp/gssdp-resource-group.c
index fe30020..66cf508 100644
--- a/libgssdp/gssdp-resource-group.c
+++ b/libgssdp/gssdp-resource-group.c
@@ -7,9 +7,7 @@
*
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif /* HAVE_CONFIG_H */
#include "gssdp-resource-group.h"
#include "gssdp-resource-browser.h"
diff --git a/libgssdp/gssdp-socket-functions.c b/libgssdp/gssdp-socket-functions.c
index d5afa97..ab1ab8d 100644
--- a/libgssdp/gssdp-socket-functions.c
+++ b/libgssdp/gssdp-socket-functions.c
@@ -7,9 +7,7 @@
*
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif /* HAVE_CONFIG_H */
#ifdef __APPLE__
#define __APPLE_USE_RFC_3542
diff --git a/libgssdp/gssdp-socket-source.c b/libgssdp/gssdp-socket-source.c
index 195d19d..438ca82 100644
--- a/libgssdp/gssdp-socket-source.c
+++ b/libgssdp/gssdp-socket-source.c
@@ -12,10 +12,7 @@
*
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif /* HAVE_CONFIG_H */
-#include <gio/gio.h>
#include "gssdp-socket-functions.h"
#include "gssdp-socket-source.h"
@@ -23,6 +20,7 @@
#include "gssdp-error.h"
#include <glib.h>
+#include <gio/gio.h>
struct _GSSDPSocketSource {
GObject parent;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]