mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 20:40:06 +01:00
nm-tool: don't depend on private NM includes
This commit is contained in:
parent
3ce6b68c64
commit
fdb5ef29c1
1 changed files with 6 additions and 1 deletions
|
|
@ -43,7 +43,12 @@
|
|||
#include <nm-vpn-connection.h>
|
||||
#include <nm-setting-connection.h>
|
||||
|
||||
#include "nm-dbus-glib-types.h"
|
||||
/* Don't use nm-dbus-glib-types.h so that we can keep nm-tool
|
||||
* building standalone outside of the NM tree.
|
||||
*/
|
||||
#define DBUS_TYPE_G_MAP_OF_VARIANT (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE))
|
||||
#define DBUS_TYPE_G_MAP_OF_MAP_OF_VARIANT (dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, DBUS_TYPE_G_MAP_OF_VARIANT))
|
||||
#define DBUS_TYPE_G_ARRAY_OF_OBJECT_PATH (dbus_g_type_get_collection ("GPtrArray", DBUS_TYPE_G_OBJECT_PATH))
|
||||
|
||||
static GHashTable *user_connections = NULL;
|
||||
static GHashTable *system_connections = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue