aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-location.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmm-glib/mm-modem-location.h')
-rw-r--r--libmm-glib/mm-modem-location.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem-location.h b/libmm-glib/mm-modem-location.h
index 86644763..7d033454 100644
--- a/libmm-glib/mm-modem-location.h
+++ b/libmm-glib/mm-modem-location.h
@@ -24,6 +24,10 @@
#ifndef _MM_MODEM_LOCATION_H_
#define _MM_MODEM_LOCATION_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 "mm-gdbus-modem.h"