test: fix defining nmtst_create_minimal_connection() without including nm-setting-connection.h

This commit is contained in:
Thomas Haller
2015-02-25 01:37:57 +01:00
parent fe0bd1b91f
commit ec1e8017af

View File

@@ -712,7 +712,7 @@ nmtst_ip6_config_clone (NMIP6Config *config)
#endif #endif
#ifdef __NM_SIMPLE_CONNECTION_H__ #if defined(__NM_SIMPLE_CONNECTION_H__) && defined(__NM_SETTING_CONNECTION_H__)
inline static NMConnection * inline static NMConnection *
nmtst_create_minimal_connection (const char *id, const char *uuid, const char *type, NMSettingConnection **out_s_con) nmtst_create_minimal_connection (const char *id, const char *uuid, const char *type, NMSettingConnection **out_s_con)