summaryrefslogtreecommitdiff
path: root/src/nm-sleep-monitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-sleep-monitor.h')
-rw-r--r--src/nm-sleep-monitor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nm-sleep-monitor.h b/src/nm-sleep-monitor.h
index 173e6a1369..00eeaa03af 100644
--- a/src/nm-sleep-monitor.h
+++ b/src/nm-sleep-monitor.h
@@ -22,6 +22,8 @@
#include <glib-object.h>
+#include "nm-types.h"
+
G_BEGIN_DECLS
#define NM_TYPE_SLEEP_MONITOR (nm_sleep_monitor_get_type ())
@@ -34,7 +36,6 @@ G_BEGIN_DECLS
#define NM_SLEEP_MONITOR_SLEEPING "sleeping"
#define NM_SLEEP_MONITOR_RESUMING "resuming"
-typedef struct _NMSleepMonitor NMSleepMonitor;
typedef struct _NMSleepMonitorClass NMSleepMonitorClass;
GType nm_sleep_monitor_get_type (void) G_GNUC_CONST;