Commit 037462e9 authored by Thomas Haller's avatar Thomas Haller

shared: include "gsystem-local-alloc.h" from "nm-glib.h"

"nm-glib.h" is the most basic header, the one we cannot do without.
("nm-default.h", is already more generic, the one which every common
source file in NetworkManager repository should include).

Let "gsystem-local-alloc.h" be included by "nm-glib.h" and nowhere
else.
parent 5d55492b
......@@ -100,7 +100,6 @@ _nm_g_return_if_fail_warning (const char *log_domain,
#include "nm-utils/nm-glib.h"
#include "nm-version.h"
#include "nm-utils/gsystem-local-alloc.h"
#include "nm-utils/nm-macros-internal.h"
#include "nm-utils/nm-shared-utils.h"
......
......@@ -24,6 +24,8 @@
#include <gio/gio.h>
#include <string.h>
#include "gsystem-local-alloc.h"
#ifdef __clang__
#undef G_GNUC_BEGIN_IGNORE_DEPRECATIONS
......
......@@ -32,7 +32,6 @@
#include <NetworkManager.h>
/* we make use of other internal header files, you need those too. */
#include "gsystem-local-alloc.h"
#include "nm-macros-internal.h"
/*****************************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment