diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-09 10:45:25 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-09 15:23:47 +0200 |
commit | d782748cc8ed891a2358bf8a4a8943039e73e201 (patch) | |
tree | 5951aed227cefac5a6037c2f2c87079a43251743 /libqmi-glib/qmi-flags64-nas.h | |
parent | d0f017f9e2f582f4d61f678851cb7b36c3ae7220 (diff) | |
download | external_libqmi-d782748cc8ed891a2358bf8a4a8943039e73e201.zip external_libqmi-d782748cc8ed891a2358bf8a4a8943039e73e201.tar.gz external_libqmi-d782748cc8ed891a2358bf8a4a8943039e73e201.tar.bz2 |
build,libqmi-glib: only allow including `libqmi-glib.h' directly
Diffstat (limited to 'libqmi-glib/qmi-flags64-nas.h')
-rw-r--r-- | libqmi-glib/qmi-flags64-nas.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libqmi-glib/qmi-flags64-nas.h b/libqmi-glib/qmi-flags64-nas.h index 9897aa7..b76f8f2 100644 --- a/libqmi-glib/qmi-flags64-nas.h +++ b/libqmi-glib/qmi-flags64-nas.h @@ -23,6 +23,12 @@ #ifndef _LIBQMI_GLIB_QMI_FLAGS64_NAS_H_ #define _LIBQMI_GLIB_QMI_FLAGS64_NAS_H_ +#if !defined (__LIBQMI_GLIB_H_INSIDE__) && !defined (LIBQMI_GLIB_COMPILATION) +#error "Only <libqmi-glib.h> can be included directly." +#endif + +#include <glib.h> + /*****************************************************************************/ /* Helper enums for the 'QMI NAS Get System Selection Preference' * request/response */ |