diff options
Diffstat (limited to 'libnm-core/nm-property-compare.h')
| -rw-r--r-- | libnm-core/nm-property-compare.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm-core/nm-property-compare.h b/libnm-core/nm-property-compare.h index b859989f..da2aaf2c 100644 --- a/libnm-core/nm-property-compare.h +++ b/libnm-core/nm-property-compare.h @@ -23,6 +23,10 @@ #ifndef __NM_PROPERTY_COMPARE_H__ #define __NM_PROPERTY_COMPARE_H__ +#if !((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_CORE_PRIVATE) +#error Cannot use this header. +#endif + int nm_property_compare (GVariant *value1, GVariant *value2); #endif /* __NM_PROPERTY_COMPARE_H__ */ |