summary refs log tree commit diff
path: root/src/nm-multi-index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-multi-index.h')
-rw-r--r--src/nm-multi-index.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/nm-multi-index.h b/src/nm-multi-index.h
index e41ef54e..1e1e8fda 100644
--- a/src/nm-multi-index.h
+++ b/src/nm-multi-index.h
@@ -21,7 +21,7 @@
 #ifndef __NM_MULTI_INDEX__
 #define __NM_MULTI_INDEX__
 
-#include <glib.h>
+#include "nm-default.h"
 
 G_BEGIN_DECLS
 
@@ -39,7 +39,10 @@ typedef struct {
 } NMMultiIndexIter;
 
 typedef struct {
-	GHashTableIter _iter;
+	union {
+		GHashTableIter _iter;
+		gpointer _value;
+	};
 	guint _state;
 } NMMultiIndexIdIter;