diff options
Diffstat (limited to 'libnm/nm-dhcp4-config.h')
| -rw-r--r-- | libnm/nm-dhcp4-config.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libnm/nm-dhcp4-config.h b/libnm/nm-dhcp4-config.h index 2cbbdc9e..6669aa0e 100644 --- a/libnm/nm-dhcp4-config.h +++ b/libnm/nm-dhcp4-config.h @@ -21,9 +21,11 @@ #ifndef __NM_DHCP4_CONFIG_H__ #define __NM_DHCP4_CONFIG_H__ -#include "nm-dhcp-config.h" +#if !((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_PRIVATE) +#error Cannot use this header. +#endif -G_BEGIN_DECLS +#include "nm-dhcp-config.h" #define NM_TYPE_DHCP4_CONFIG (nm_dhcp4_config_get_type ()) #define NM_DHCP4_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_DHCP4_CONFIG, NMDhcp4Config)) @@ -40,13 +42,8 @@ typedef struct { typedef struct { NMDhcpConfigClass parent; - - /*< private >*/ - gpointer padding[4]; } NMDhcp4ConfigClass; GType nm_dhcp4_config_get_type (void); -G_END_DECLS - #endif /* __NM_DHCP4_CONFIG_H__ */ |