diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index 10d384ab1c..ba3ec21860 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -26,6 +26,10 @@ #ifndef __NM_DBUS_INTERFACE_H__ #define __NM_DBUS_INTERFACE_H__ +#ifndef NM_VERSION_H +#define NM_AVAILABLE_IN_1_0_6 +#endif + /* * dbus services details */ @@ -549,6 +553,7 @@ typedef enum { * * Since: 1.0.6 **/ +NM_AVAILABLE_IN_1_0_6 typedef enum { NM_METERED_UNKNOWN = 0, NM_METERED_YES = 1, @@ -636,4 +641,8 @@ typedef enum /*< flags >*/ { NM_SECRET_AGENT_CAPABILITY_LAST = NM_SECRET_AGENT_CAPABILITY_VPN_HINTS } NMSecretAgentCapabilities; +#ifndef NM_VERSION_H +#undef NM_AVAILABLE_IN_1_0_6 +#endif + #endif /* __NM_DBUS_INTERFACE_H__ */