diff options
Diffstat (limited to 'libmm-glib/mm-bearer.h')
-rw-r--r-- | libmm-glib/mm-bearer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmm-glib/mm-bearer.h b/libmm-glib/mm-bearer.h index 4f90ae2a..dbaf497b 100644 --- a/libmm-glib/mm-bearer.h +++ b/libmm-glib/mm-bearer.h @@ -24,6 +24,10 @@ #ifndef _MM_BEARER_H_ #define _MM_BEARER_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-bearer.h" |