api: only allow including `ModemManager.h' directly

This commit is contained in:
Aleksander Morgado
2012-10-03 18:06:14 +02:00
parent 239c56cf7f
commit 4251030bd8
7 changed files with 18 additions and 7 deletions

View File

@@ -17,6 +17,10 @@
#ifndef _MODEMMANAGER_ERRORS_H_
#define _MODEMMANAGER_ERRORS_H_
#if !defined (__MODEM_MANAGER_H_INSIDE__)
#error "Only <ModemManager.h> can be included directly."
#endif
#include <ModemManager-names.h>
/**