From 4251030bd8bc08af713c7865027ecdb40a3b3db4 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 3 Oct 2012 18:06:14 +0200 Subject: api: only allow including `ModemManager.h' directly --- include/ModemManager-errors.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/ModemManager-errors.h') diff --git a/include/ModemManager-errors.h b/include/ModemManager-errors.h index 36f882cf..0be24abb 100644 --- a/include/ModemManager-errors.h +++ b/include/ModemManager-errors.h @@ -17,6 +17,10 @@ #ifndef _MODEMMANAGER_ERRORS_H_ #define _MODEMMANAGER_ERRORS_H_ +#if !defined (__MODEM_MANAGER_H_INSIDE__) +#error "Only can be included directly." +#endif + #include /** -- cgit v1.2.3-70-g09d2