diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-03 18:06:14 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-04 10:17:13 +0200 |
commit | 4251030bd8bc08af713c7865027ecdb40a3b3db4 (patch) | |
tree | 97f85eeedd74da69ff9ab293b363a43884b67d83 /libmm-glib | |
parent | 239c56cf7fe42d37257fbcd1f1d0893498c6cd05 (diff) |
api: only allow including `ModemManager.h' directly
Diffstat (limited to 'libmm-glib')
-rw-r--r-- | libmm-glib/generated/Makefile.am | 6 | ||||
-rw-r--r-- | libmm-glib/mm-common-helpers.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libmm-glib/generated/Makefile.am b/libmm-glib/generated/Makefile.am index 0eea84c7..16dd4138 100644 --- a/libmm-glib/generated/Makefile.am +++ b/libmm-glib/generated/Makefile.am @@ -41,7 +41,7 @@ BUILT_SOURCES = $(GENERATED_H) $(GENERATED_C) $(GENERATED_DOC) # Enum types mm-enums-types.h: Makefile.am $(top_srcdir)/include/ModemManager-enums.h $(top_srcdir)/build-aux/mm-enums-template.h $(AM_V_GEN) $(GLIB_MKENUMS) \ - --fhead "#include <ModemManager-enums.h>\n#ifndef __MM_ENUMS_TYPES_H__\n#define __MM_ENUMS_TYPES_H__\n" \ + --fhead "#include <ModemManager.h>\n#ifndef __MM_ENUMS_TYPES_H__\n#define __MM_ENUMS_TYPES_H__\n" \ --template $(top_srcdir)/build-aux/mm-enums-template.h \ --ftail "#endif /* __MM_ENUMS_TYPES_H__ */\n" \ $(top_srcdir)/include/ModemManager-enums.h > $@ @@ -62,13 +62,13 @@ mm-errors-types.h: Makefile.am $(top_srcdir)/include/ModemManager-errors.h $(top mm-errors-types.c: Makefile.am $(top_srcdir)/include/ModemManager-errors.h $(top_srcdir)/build-aux/mm-errors-template.c mm-errors-types.h $(AM_V_GEN) $(GLIB_MKENUMS) \ - --fhead "#include <ModemManager-errors.h>\n#include \"mm-errors-types.h\"\n" \ + --fhead "#include <ModemManager.h>\n#include \"mm-errors-types.h\"\n" \ --template $(top_srcdir)/build-aux/mm-errors-template.c \ $(top_srcdir)/include/ModemManager-errors.h > $@ mm-errors-quarks.c: Makefile.am $(top_srcdir)/include/ModemManager-errors.h $(top_srcdir)/build-aux/mm-errors-quarks-template.c $(top_srcdir)/include/ModemManager-names.h mm-errors-types.h $(AM_V_GEN) $(GLIB_MKENUMS) \ - --fhead "#include <ModemManager-errors.h>\n#include \"mm-errors-types.h\"\n" \ + --fhead "#include <ModemManager.h>\n#include \"mm-errors-types.h\"\n" \ --template $(top_srcdir)/build-aux/mm-errors-quarks-template.c \ $(top_srcdir)/include/ModemManager-errors.h > $@ diff --git a/libmm-glib/mm-common-helpers.h b/libmm-glib/mm-common-helpers.h index eb631048..316388ff 100644 --- a/libmm-glib/mm-common-helpers.h +++ b/libmm-glib/mm-common-helpers.h @@ -16,7 +16,7 @@ */ #include <glib.h> -#include <ModemManager-enums.h> +#include <ModemManager.h> #if !defined (__LIBMM_GLIB_H_INSIDE__) && !defined (LIBMM_GLIB_COMPILATION) #error "Only <libmm-glib.h> can be included directly." |