aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-simple-status.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-simple-status.h')
-rw-r--r--libmm-glib/mm-simple-status.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-simple-status.h b/libmm-glib/mm-simple-status.h
index 884b6b95..fa535616 100644
--- a/libmm-glib/mm-simple-status.h
+++ b/libmm-glib/mm-simple-status.h
@@ -16,6 +16,10 @@
#ifndef MM_SIMPLE_STATUS_H
#define MM_SIMPLE_STATUS_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>