diff options
Diffstat (limited to 'libnm/nm-dbus-helpers.h')
| -rw-r--r-- | libnm/nm-dbus-helpers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm/nm-dbus-helpers.h b/libnm/nm-dbus-helpers.h index 1847da1d..0f2cabe8 100644 --- a/libnm/nm-dbus-helpers.h +++ b/libnm/nm-dbus-helpers.h @@ -21,6 +21,10 @@ #ifndef __NM_DBUS_HELPERS_PRIVATE_H__ #define __NM_DBUS_HELPERS_PRIVATE_H__ +#if !((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_PRIVATE) +#error Cannot use this header. +#endif + #include "nm-dbus-compat.h" GBusType _nm_dbus_bus_type (void); |