api: only allow including `ModemManager.h' directly
This commit is contained in:
@@ -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>
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user