build: add the compatibility header for g_clear_pointer()

Necessary for GLib < 2.34
This commit is contained in:
Jiří Klimeš
2014-11-07 17:03:20 +01:00
parent 99d0fe3006
commit 9ed96e15eb
3 changed files with 3 additions and 0 deletions

View File

@@ -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;

View File

@@ -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)

View File

@@ -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"