mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 10:40:58 +01:00
build: use compat version of g_clear_pointer()
Ubuntu 12.04 has an ancient version of glib, which we nevertheless support.
This commit is contained in:
parent
36f7669a4c
commit
eb2b8c2798
5 changed files with 9 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include <gio/gio.h>
|
||||
#include <glib/gi18n-lib.h>
|
||||
|
||||
#include "nm-glib-compat.h"
|
||||
#include "nm-core-internal.h"
|
||||
|
||||
typedef struct {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,8 @@
|
|||
#include <glib-unix.h>
|
||||
#include <gmodule.h>
|
||||
|
||||
#include "nm-glib-compat.h"
|
||||
|
||||
#include "gsystem-local-alloc.h"
|
||||
#include "main-utils.h"
|
||||
#include "NetworkManagerUtils.h"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@
|
|||
#include <libsoup/soup.h>
|
||||
#endif
|
||||
|
||||
#include "nm-glib-compat.h"
|
||||
|
||||
#include "nm-connectivity.h"
|
||||
#include "nm-config.h"
|
||||
#include "nm-logging.h"
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@
|
|||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "nm-glib-compat.h"
|
||||
|
||||
#include "nm-logging.h"
|
||||
#include "writer.h"
|
||||
#include "common.h"
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
#include <glib.h>
|
||||
#include <dbus/dbus.h>
|
||||
|
||||
#include "nm-glib-compat.h"
|
||||
|
||||
#include "nm-supplicant-manager.h"
|
||||
#include "nm-supplicant-interface.h"
|
||||
#include "nm-logging.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue