nm-tool: don't depend on private NM includes

This commit is contained in:
Dan Williams
2009-09-17 14:07:53 -07:00
parent 3ce6b68c64
commit fdb5ef29c1

View File

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