From 9ed96e15eb57865660ce39763696352f8d33d78c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Klime=C5=A1?= Date: Fri, 7 Nov 2014 17:03:20 +0100 Subject: [PATCH] build: add the compatibility header for g_clear_pointer() Necessary for GLib < 2.34 --- src/devices/adsl/nm-atm-manager.c | 1 + src/nm-active-connection.c | 1 + src/settings/nm-settings-connection.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/devices/adsl/nm-atm-manager.c b/src/devices/adsl/nm-atm-manager.c index 37be69c6e..1c8ea6b6b 100644 --- a/src/devices/adsl/nm-atm-manager.c +++ b/src/devices/adsl/nm-atm-manager.c @@ -28,6 +28,7 @@ #include "nm-device-adsl.h" #include "nm-device-factory.h" #include "nm-logging.h" +#include "nm-glib-compat.h" typedef struct { GUdevClient *client; diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c index 73925659d..ff70d802b 100644 --- a/src/nm-active-connection.c +++ b/src/nm-active-connection.c @@ -33,6 +33,7 @@ #include "NetworkManagerUtils.h" #include "gsystem-local-alloc.h" #include "nm-active-connection-glue.h" +#include "nm-glib-compat.h" /* Base class for anything implementing the Connection.Active D-Bus interface */ G_DEFINE_ABSTRACT_TYPE (NMActiveConnection, nm_active_connection, G_TYPE_OBJECT) diff --git a/src/settings/nm-settings-connection.c b/src/settings/nm-settings-connection.c index 6a71c0203..78a830bad 100644 --- a/src/settings/nm-settings-connection.c +++ b/src/settings/nm-settings-connection.c @@ -37,6 +37,7 @@ #include "NetworkManagerUtils.h" #include "nm-properties-changed-signal.h" #include "nm-core-internal.h" +#include "nm-glib-compat.h" #define SETTINGS_TIMESTAMPS_FILE NMSTATEDIR "/timestamps" #define SETTINGS_SEEN_BSSIDS_FILE NMSTATEDIR "/seen-bssids"