summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-11-07 17:03:20 +0100
committerJiří Klimeš <jklimes@redhat.com>2014-11-07 17:10:39 +0100
commit9ed96e15eb57865660ce39763696352f8d33d78c (patch)
treeec312f4e116fed1f21453a4309799e1cdd1e9b03
parent99d0fe3006c1435a7f11011392a106b50e45a4bb (diff)
downloadNetworkManager-9ed96e15eb57865660ce39763696352f8d33d78c.tar.gz
build: add the compatibility header for g_clear_pointer()
Necessary for GLib < 2.34
-rw-r--r--src/devices/adsl/nm-atm-manager.c1
-rw-r--r--src/nm-active-connection.c1
-rw-r--r--src/settings/nm-settings-connection.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/adsl/nm-atm-manager.c b/src/devices/adsl/nm-atm-manager.c
index 37be69c6e4..1c8ea6b6b6 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 73925659df..ff70d802bf 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 6a71c02036..78a830bad6 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"