aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-unlock-retries.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-unlock-retries.h')
-rw-r--r--libmm-glib/mm-unlock-retries.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-unlock-retries.h b/libmm-glib/mm-unlock-retries.h
index 48851b21..ea43cb6a 100644
--- a/libmm-glib/mm-unlock-retries.h
+++ b/libmm-glib/mm-unlock-retries.h
@@ -16,6 +16,10 @@
#ifndef MM_UNLOCK_RETRIES_H
#define MM_UNLOCK_RETRIES_H
+#if !defined (__LIBMM_GLIB_H_INSIDE__) && !defined (LIBMM_GLIB_COMPILATION)
+#error "Only <libmm-glib.h> can be included directly."
+#endif
+
#include <ModemManager.h>
#include <glib-object.h>